Home Forums Older Versions of Mac OS X and iOS Mac OS X Server 10.3 General Discussion Path to php, how to overide defualt path

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #367045
    semiotica
    Participant

    [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

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Comments are closed