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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
My Apache installation has these two lines in the httpd.conf file:
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.