找不到phpsh
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
我升级到山狮后遇到phpsh问题 p>
I 用php-osx安装了php5.4,并用mysql搞定了。 p>
所以当我按照指示安装phpsh并得到 我不喜欢 我对python一无所知,但是当我在python中运行时,我得到了这个: p>
我知道这是一个满口的但有人可以帮忙吗? p>
干杯 p> \ n div> phpsh not found code> 在ZSH shell中,它没有任何意义? 我在升级之前就已经运行了。 p>
php -a code>什么都不做,只是挂起? p>
/ usr / local / bin / python
/ usr / bin / python
/ usr / local / bin / python
code> pre>
I fixed it by adding sudo chown -R "whoami" /usr/local