Search code examples
phpmacosphpsh

phpsh not found


I am having problems with phpsh after I upgraded to mountain lion

I installed php5.4 with the php-osx and got that playing nice with mysql.

So when I followed the directions to install phpsh and got the phpsh not found in ZSH shell, It didn't make any sense? I had it running before I upgraded.

Also php -a is doing nothing, just hangs?

I don't know anything about python but when I run where python I get this:

/usr/local/bin/python
/usr/bin/python
/usr/local/bin/python

I know that's a mouthful but can someone help?

Cheers


Solution

  • I fixed it by adding sudo chown -R "whoami" /usr/local