JonnySnip3r Posted September 21, 2012 Share Posted September 21, 2012 Hi guys, Ok I have been using php 5.4.0 since it's release I have recently updated to php 5.4.7 (I'm using Mountain Lion) I do have everything installed using the default apache web server that came with my mac nice little AMP stack. The default file in my Sites directory is index.php with phpinfo() (http://localhost) will show this file weirdly I see this PHP Version 5.3.15 Last time i checked i was developing on 5.4.7 so the applications i'm now coding doesnt work (due to outdated php) When i check the php version in my terminal i see php version 5.4.7. I'm an idiot when it comes to figuring this out has anyone had the same problem? If so please help Do i have to recompile php as it takes SO long. Thanks guys! Link to comment https://forums.phpfreaks.com/topic/268644-php-installation-weird/ Share on other sites More sharing options...
Adam Posted September 21, 2012 Share Posted September 21, 2012 You need to update the PHP module used by Apache. The module's compiled, so when you update PHP you need to re-compile it to use the new version. Link to comment https://forums.phpfreaks.com/topic/268644-php-installation-weird/#findComment-1379905 Share on other sites More sharing options...
JonnySnip3r Posted September 21, 2012 Author Share Posted September 21, 2012 cheers buddy so should i start again with the installation and do it then? as im guessing its too late to do it now? Thanks! Link to comment https://forums.phpfreaks.com/topic/268644-php-installation-weird/#findComment-1379906 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.