I am using Ubuntu 14.04. I have php installed. When I check phpinfo() from browser I get 5.5.9. But when I check from command line, I get 5.3.28. How can I make the command line php also to 5.5.9 ? i google and could find that this is because php cli is using a different php.ini file. Please guide me to upgrade this to 5.5.9. Thanks
The php command line is located in php5-cli package (
apt-cache policy php5-cli), but since 5.3.28 has never been a part of Ubuntu, so I suspect that you have a local (compiled from sources) installation of php CLI probably in /usr/local.