Question
Ubuntu 14.04 - PHP Version Upgraded from 5.5.9 to 5.6 - phpinfo still shows 5.5.9, php -v shows 5.6 - uninstalling 5.5.9??
I tried several ways to upgrade PHP on my Ubuntu 14.04 machine from 5.5.9 to 5.6. It was not easy, at least it worked like described on http://devdocs.magento.com/guides/v2.0/install-gde/prereq/php-ubuntu.html.
Typing php -v shows
code
PHP 5.6.25-2+deb.sury.org~trusty+1 (cli)
Copyright © 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright © 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright © 1999-2016, by Zend Technologiescode
looks good so far....
But phpinfo still shows
code
PHP Version 5.5.9-1ubuntu4.19code
How can I enforce apache to use PHP 5.6??
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×