我使用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安裝OSQA
- 4. 在Windows 7(XAMPP)中安裝Memcache
- 5. 在windows xp上安裝xampp
- 6. 在沒有zend框架的windows 7上在xampp上安裝zf2
- 7. 如何在Windows 7上的XAMPP上使用Bitnami Wordpress安裝
- 8. 在windows上的xampp上安裝crypt flufish
- 9. 使用Xampp在Windows 7上安裝Cassandra的PHP驅動程序
- 10. 錯誤安裝XAMPP 7
- 11. 梨安裝PHPUnit_Selenium到Windows
- 12. 在Windows 7上安裝VS2005
- 13. 在Windows 7上安裝MySQLdb
- 14. 在Windows 7上安裝Tomcat
- 15. 在Windows 7上安裝TurboGears
- 16. 在Windows 7上安裝Sharepoint
- 17. 在Windows 7上安裝IIS
- 18. 在Windows 7上安裝ARTOOLKIT
- 19. 在Windows 7上安裝ry2
- 20. 在windows 7上安裝scapy3
- 21. 在windows 7上安裝PECL
- 22. 在Windows 7上安裝IIS8?
- 23. 在Windows 7上安裝GitPython
- 24. 如何使端口80可用?在Windows 7上安裝xampp 1.7.7?
- 25. 如何:在XAMPP上安裝Memcache(Windows 7/8/10)
- 26. 必須在xampp上安裝PHP擴展「curl」Windows 7
- 27. 在windows上安裝PERCL GeoIP for PHP XAMPP
- 28. 在Windows上安裝Mercurial Apache XAMPP教程
- 29. 在MS Windows Server 2003上安裝Xampp
- 30. 使用XAMPP在windows上安裝symfony
HTTP的可能重複:// stackoverflow.com/questions/4717547/cant-install-pear-on-windows-7-structures-graph-error – vstm 2011-12-30 08:09:32