AFP548

Path to php, how to overide defualt path

[code]$ which php reports location as $ /usr/bin/php[/code] In other words the php that comes with the os This overides/ignores my bash_profile, [code]$ cat .bash_profile export PATH=/usr/local/mysql/bin:$PATH test -r /sw/bin/init.sh && . /sw/bin/init.sh export PATH=${PATH}:Applications/webtest/bin/webtest.sh export PATH=/usr/local/php5/bin:$PATH[/code] The result of this is that many apps will not install correctly, for example Zend Platform, it also makes working with Pear Packages very arkward. So the question is how to make the terminal recognise the install at /usr/local/php5/bin. If anyone has an answer to this you would be helping many users OS X and OS X Server
Exit mobile version