2006年12月28日 星期四

在PHP5.2.x下安裝pear

官方版的go-pear 執行會有問題 (Bug)
通常執行後會有一堆錯誤網站
據網路上找到的兩個解決方法如下
1.到g0-pear(http://go-pear.org/) 將該網頁存在本機apache下
















將檔案名稱存成 go-pear.php
執行 http://localhost/go-pear.php 他將會進入web介面的安裝步驟


將相關設定值檢查是否正確即可安裝 install


如此一來等待他安裝完成即可。

2.這個方法是
go to http://snaps.php.net/, download the latest snap of php for windows,replace PEAR/go-pear.phar with the new one in snap , then it's ok!!!

http://snaps.php.net/
下載新版本的snap包就可以了 將pear資料夾下的g0-pear.phar取代掉囉~

沒有留言: