我使用1.7.4的xampp版本放置在D:.But當我在cmd中執行go-pear.bat文件時,顯示錯誤:「無法打開流無效路徑1236 line phar://go-pear.phar/index.php。 當我打算安裝梨然後「解包失敗的C://PHP//結構圖顯示。 但是,當我只運行梨,然後它顯示所有的命令。 請幫幫忙。關於在Windows 7上的xampp中安裝梨
回答
這可能是由於在php.ini的include_path的錯誤配置,確保路徑的PEAR文件夾是include_path中設置的一部分,即:
; PHP's default setting for include_path is ".;/path/to/php/pear"
; http://php.net/include-path
include_path = ".;D:\xampp\php\PEAR"
include_path就像你給的那樣。現在怎麼辦lawrencealen – Priyanka 2011-12-30 07:12:37
粘貼你的包含路徑 – lawrencealan 2011-12-30 16:08:02
嘿謝謝非常多現在它工作正常。「go-pear」文件出現錯誤,更新後版本的下載工作.......... :) – Priyanka 2012-01-02 09:40:19
- 1. phpunit通過安裝在xampp上的梨
- 2. 無法在Windows 7上安裝gmagick XAMPP
- 3. 如何在Windows 7上的XAMPP上使用Bitnami Wordpress安裝
- 4. 在windows上的xampp上安裝crypt flufish
- 5. 必須在xampp上安裝PHP擴展「curl」Windows 7
- 6. 在Windows 7上安裝ARTOOLKIT
- 7. 在Windows 7上安裝GitPython
- 8. 在Windows 7上安裝ry2
- 9. 在Windows 7上安裝Sharepoint
- 10. 在windows 7上安裝scapy3
- 11. 在Windows 7上安裝IIS
- 12. 在Windows上安裝奏鳴曲xampp
- 13. 在Windows上安裝Mercurial Apache XAMPP教程
- 14. 在MS Windows Server 2003上安裝Xampp
- 15. 在Windows上安裝C#Windows服務7
- 16. 安裝在Windows 7
- 17. 在windows中安裝QJson - 7
- 18. 在Windows 7的python上安裝spynner
- 19. 在Windows 7上的python安裝程序
- 20. 無法在Windows 10中安裝XAMPP
- 21. Windows 7中的Hadoop安裝
- 22. 安裝Joomla上XAMPP
- 23. 在XAMPP上安裝FFMPEG
- 24. 在XAMPP上安裝PEAR
- 25. 如何在Xampp安裝的Windows上禁用Apache中的SSLv3
- 26. 在Windows 7上的phpredis 64位xampp
- 27. 在Windows中安裝Windows服務7
- 28. 使用phar在Windows 7上安裝PEAR
- 29. 如何在Windows 7上安裝Zend 2.4.8?
- 30. 在Mac OS上安裝Windows 7 sierra
HTTP的可能重複:// stackoverflow.com/questions/4717547/cant-install-pear-on-windows-7-structures-graph-error – vstm 2011-12-30 08:09:32