I installed PEAR and when I try to run it, I receive this message:
PHP_PEAR_PHP_BIN is not set correctly. Please fix it using your environment variable or modify the default value in pear.bat The current value is: .php.exe
在Pear.bat档案中,错误信息产生于:
:PEAR_PHPBIN_ERROR
ECHO PHP_PEAR_PHP_BIN is not set correctly.
ECHO Please fix it using your environment variable or modify
ECHO the default value in pear.bat
ECHO The current value is:
ECHO %PHP_PEAR_PHP_BIN%
GOTO END
在档案顶端有这样的条件:
IF "%PHP_PEAR_PHP_BIN%"=="" SET "PHP_PEAR_PHP_BIN=.php.exe"
这是我的出发点。 我已经改变了这条道路:
IF "%PHP_PEAR_PHP_BIN%"=="" SET "PHP_PEAR_PHP_BIN=C:hqpxamppphpphp.exe"
无论变化如何,我还是从指挥线上都发现了同样的错误,因为它仍然认为价值是.php.exe
。 我可以夸大错误信息,我的 t子将出现在指挥线上,因此我相信这一耳光。 正在查阅批号。
So my assumption is, based on that condition, "%PHP_PEAR_PHP_BIN%"!=""
and if that is the case, where is it being set so I can override it to my correct path? Ideas where I should look or how to troubleshoot this further?
Here s my pear.bat source code: http://codetidy.com/919/ Thanks!