Install PEAR Problem

problem 1: x y/5DU(@  
when install PEAR, my PHP is 5.2 version. which has a bug in PEAR. )1@ 7 Hj9  
會出下面的warning: /} x-m$7k  
Warning: Cannot use a scalar value as an array in Z nl >W:  
zVeU'i PX  
需要把pear目錄下的go-pear.phar文件替換一下 n|b/DhP�  
文件在這裏下載 >/Je.1DR3  
http://go-pear.org/ Jf9;~{l  
s4b`Nje}  
然後下載: +.=ig*  
http://pear.php.net/go-pear.phar ` ",PHk  
VNR,z^C  
把go-pear.phar save as install_Pear.php, run it. cX?Z~d.@e  
9gVlOLs  
problem 2: ` /K _ 4$  
按照install, 添proxy, 其他的最好不要改,after complete installation: bm,KNpg%  
`ay3Wfz9  
你會看到:cannot connect to pear.php.net:80 /JauX=S*  
這是因爲 apache 需要 proxy 設置,才能聯去外面的網站。 /H S: _Uo  
go to httpd.conf, tg};d&,  
:i9Ism2�  
add below for Windows: 0v L*jEx  
SetEnv http_proxy http://yourweb:yourport slC(j k  
gr5FE-:p  
example: SetEnv http_proxy http://192.168.1.2:3000 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章