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
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