Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am uploading my php web site in ubuntu. When I press php -version command I get the version 5.3 but when I use phpinfo() in my public_html folder I get version 4.4! How can I solve the problem and use php version 5.3?

share|improve this question
When you first installed Ubuntu did you get rid of PHP and do a re-install? I found information on setting mine up in the Ubuntu support section: help.ubuntu.com/12.10/serverguide/php5.html –  Kenzo Nov 14 '12 at 7:55
What is the output of sudo lsb_release -a? –  Zoredache Nov 14 '12 at 7:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.