Home > Backend Development > PHP Tutorial > PHP命令行中运行 pear help 出现错误

PHP命令行中运行 pear help 出现错误

WBOY
Release: 2016-06-23 14:20:48
Original
980 people have browsed it

php pear

安装pear后,cd进入php的安装目录,运行pear help,出现错误如下:
PHP Parse error: syntax error, unexpected '@' in D:/../pear/pearcmd.php on line 28.
但是pearcmd.php是安装pear时自动生成的,所以不知道该怎么改,望高手指点。。。。

回复讨论(解决方案)

报的语法错误,重新安装试下
http://blog.chinaunix.net/uid-25266990-id-3393387.html

重装了5次,终于好了,在选择locations时直接跳过,后面就没问题了。

但是我后面打开pearcmd.php看了,里面的内容完全一致。

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template