关于ubuntu最新版本的phpsh安装问题

时间:2015-11-05 04:30:18

标签: ubuntu phpsh

当我在ubuntu上安装phpsh时,我发现了一个错误。

nadeem@nadeem-Inspiron-5521:~/Downloads/phpsh$ phpsh
Starting php
Traceback (most recent call last):
  File "/usr/local/bin/phpsh", line 47, in <module>
    verbose=opts.verbose)
  File "/usr/local/lib/python2.7/dist-packages/phpsh/__init__.py", line 503, in __init__
    self.php_open_and_check()
  File "/usr/local/lib/python2.7/dist-packages/phpsh/__init__.py", line 641, in php_open_and_check
    self.php_open()
  File "/usr/local/lib/python2.7/dist-packages/phpsh/__init__.py", line 698, in php_open
    preexec_fn=os.setsid)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
nadeem@nadeem-Inspiron-5521:~/Downloads/phpsh$ 

0 个答案:

没有答案