I am on Mac OS X Lion and command php -v
returns
PHP 5.4.4 (cli) (built: Jun 30 2012 16:45:58)
On my local server (localhost), phpinfo
gives me:
PHP Version 5.3.10
Could you please help me, I need php 5.4 to install Symfony2.
I am on Mac OS X Lion and command php -v
returns
PHP 5.4.4 (cli) (built: Jun 30 2012 16:45:58)
On my local server (localhost), phpinfo
gives me:
PHP Version 5.3.10
Could you please help me, I need php 5.4 to install Symfony2.
My Apache installation has these two lines in the httpd.conf file:
PHPIniDir "C:/Program Files/PHP"
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
Make sure that the directory in these Apache lines is the directory of the version of PHP you want.
You'll have to stop and restart Apache after you make changes to the httpd.conf file.