Thread:Project:Support desk/Problem Upgrading PHP/reply

Hi!

Accessing your webserver with a browser and with a shell are two different things. When you access your webserver with a browser, you can see one PHP version, while on the shell you see another one.

In your case the command "php" executes PHP 5.4, which is fine. However, you also must make sure that the webserver runs that version as well, when asked to deliver a page for a webbrowser. (No, I don't know what to change, but I guess that you have to reference the correct = the new PHP version somewhere in the Apache configuration. Maybe you only have not restarted the server and it already would work correctly, if you did?)