php go-pear.php 安装后,最后一步会提示,将pear的目录写入 php.ini文件中,按提示输入 php.ini的路径后,发现,写入了一行:
;***** Added by go-pearinclude_path=".:/usr/local/pear/share/pear";*****
看,结尾是没有斜杠的,(/),但pear的官方文档:
The result should look like that:; Unixinclude_path=".:/usr/local/php/pear/"or; Windowsinclude_path=".;C:\php\pear\"
是有斜杠结尾的,如果不以斜杠结尾是不能正常工作的,真shit。