gmdzxx 发表于 2018-6-17 15:28:25

PEAR on Windows reports "Invalid configuration dir-itsap

  After running go-pear.bat to configure PEAR on a Windows Server you may encounter the PHP error dialog "Invalid configuration directive".To correct the issue, modify the file C:\Program Files (x86)\PHP\pear.bat.Scroll down to the :RUN section and modify the line with the PHP directive "-d include_path":
  Prepend ".;" before "%PHP_PEAR_INSTALL_DIR%", and do not include the quotes.The section of line will read:
  增加.;在%PHP_PEAR_INSTALL_DIR%" -f "%PHP_之前,正确的这段语句如下:
  "... -d include_path=".;%PHP_PEAR_INSTALL_DIR%" -f "%PHP_PEA..."
  Save the file and re-run the "pear" command.
  收藏于 2011-04-12
  来自于百度空间
页: [1]
查看完整版本: PEAR on Windows reports "Invalid configuration dir-itsap