How to enable the php 5.4.x version on Mountain Lion

Posted by skiabox on Super User See other posts from Super User or by skiabox
Published on 2012-10-11T12:05:12Z Indexed on 2012/11/08 5:07 UTC
Read the original article Hit count: 497

Filed under:
|
|
|

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.

© Super User or respective owner

Related posts about osx

Related posts about mac