更新时间:2023-02-21 23:03:31
我能够通过删除条件来覆盖路径:
I was able to override the path by removing the condition:
已替换
IF "%PHP_PEAR_PHP_BIN%"=="" SET "PHP_PEAR_PHP_BIN=C:\hqp\xampp\php\php.exe"
与
SET "PHP_PEAR_PHP_BIN=C:\hqp\xampp\php\php.exe"
虽然这解决了我的问题,但我仍然想知道在此文件之前该值的设置位置.当然,我也确认 pear.ini
文件中的 php_bin
值中的路径是正确的.
Though this solved my issue, I'd still like to know where that value was being set prior to this file. I confirmed the path was correct in the php_bin
value in the pear.ini
file as well, of course.