Hi there, I've been asking (noob) questions in other threads and recognise that I'm getting replies from people with much more knowledge of Linux/PHP than me...
I just need a simple answer to how I make the CLI version of PHP the same as the browser version.
I've seen various threads which offer some help in some of these areas
I've been told I "simply need to set up an alias in my bashrc" ... but that's only simple if you know what an alias or bashrc actually are (!)
Could somebody please explain, in words of one syllable what I have to do? (I am on a shared server, no VPS)
I have an application which needs to access PHP5.3 with the ZipArchive and Tidy extensions. The supplier (who isn't exactly keen on helping me configure my server) says that his application needs to access this from "both browser and CLI".
I have created a ".bashrc" file (currently empty) in my home/username/ folder, I have also created a ".php/5.3/phprc" file which loads the compiled extensions.
If I run a file which utilises these extensions via the browser, then it works fine.
If I run it from the CLI, PHP complains that I don't have the correct extensions installed.
I'm baffled. I don't speak *nix, please be gentle!