PHP 5.6 installed and phpinfo shows 5.5

Asked

Viewed 58 times

0

I have a mac os x Yosemite and installed php even when I run php -v it brings me php 5.6 installed, the same is in the path /usr/local/Cellar/php56/5.6.5/bin/php that I added in the nano system path ~/. bash_profile but simply my ides monstrão php 5.5 where the path inside the IDE is /usr/local/Cellar/php56/5.6.5/bin/php is strange because it happens?

  • Try to fully stop Apache and re-start.

  • I’ve done it but it didn’t work.

  • this may help: http://getgrav.org/blog/mac-os-x-apache-setup-multiple-php-versions

  • You have chosen to add the path within the "IDE".. ok, but you have not modified Apache httpd.conf?

  • 1

    solved installed with Brew install php5 then exported to path in ~/bash_profile

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.