How do I switch between native php version to a version installed by brew in maverick?


I've been updating by brew with php but when I use phpinfo() still in the php version of the system, how to toggle or change?


See which folder is the php you installed by brew and modify the web server configuration file to use the modules there.

If you wanted by command line, delete if you have input in /usr/bin/php and make a symlink of the version you installed by brew

Scroll to Top