( 5 months ago )
I realized that there is a miss matching between the PHP version reported by
php -v(in the CLI).
php -v: 5.6.9
I am working on a Mac OS X 10.10 (Yosemite) and installed a library (
php-version) to try to manage the PHP versions.
It reports me 3 different versions installed on my laptop:
I would like to set the same version of PHP in both Apache and CLI.
How can I tell Apache which PHP version use?
I tried to write this line in my
LoadModule php5_module /usr/local/opt/php56/libexec/apache2/libphp5.so
sudo apachectl restart
But all this not solve the problem… In my PHP info I still have: 5.5.24