我已经尽了我所能来解决这个问题,但这个错误仍然会发生。
C:'windows'system32>pear install MDB2-2.5.0b5
Could not open input file: Files
C:'windows'system32>pear
Could not open input file: Files
我使用PHP 5.2.17和Apache 2.2。
php.ini
和pear.bat
似乎一切都很好。
我已经能够在我在最后一部分执行的pear.bat上找到错误,它显示-d include_path='".;%PHP_PEAR_INSTALL_DIR%"
我只是删除了'
,所以正确的是:
-d include_path=".;%PHP_PEAR_INSTALL_DIR%"