How to enable the php 5.4.x version on Mountain Lion
- by skiabox
I have installed the latest php version on my mountain lion system using these instructions (http://mac.tutsplus.com/tutorials/server/upgrading-the-native-php-installation-on-os-x-mountain-lion/).
I even put /usr/local/bin first in my path variable, so when I run php -v at the command line I get php v5.4.x
The problem is that when I run a simple script (with the phpinfo() function inside) the page tells me that I am running the old 5.3.x php version that comes pre-installed with mac os mountain lion.
I even tried to restart apache, but the problem remains.
Any ideas on this one?
Thank you.