dtjpnd7517 2012-12-29 02:12
浏览 34
已采纳

找不到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

  • 写回答

1条回答 默认 最新

  • dongshao6591 2012-12-29 14:41
    关注

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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 Python报错怎么解决
  • ¥15 simulink如何调用DLL文件
  • ¥15 关于用pyqt6的项目开发该怎么把前段后端和业务层分离
  • ¥30 线性代数的问题,我真的忘了线代的知识了
  • ¥15 有谁能够把华为matebook e 高通骁龙850刷成安卓系统,或者安装安卓系统
  • ¥188 需要修改一个工具,懂得汇编的人来。
  • ¥15 livecharts wpf piechart 属性
  • ¥20 数学建模,尽量用matlab回答,论文格式
  • ¥15 昨天挂载了一下u盘,然后拔了
  • ¥30 win from 窗口最大最小化,控件放大缩小,闪烁问题