|
好吧,不是我的错。关于这个错误,解释是这样的:
Some users have reported that the windows builds of PHP 5.3 are not able to open the shipped go-pear.phar file.
As a workaround, users can run the distributed phar with php -d phar.require_hash=0 go-pear.phar or download and use the http://pear.php.net/go-pear non-pharred version.
总结一下我的感受吧……
1. IIS 5.1、6.0、7,请先安装Microsoft FastCGI;
2. 没有了ISAPI支持之后,对于PHP 5.3来说,Installer和zip没有什么太大差别了;相比来说,个人觉得installer版本东西少(库没少带,还没有那个烦人的phar版PEAR),更清爽;
3. 安装完成后要改php.ini中的date.timezone设置,否则IIS会给你报个500错误……
4. 如果装的是installer版本并且还需要PEAR,那就这么做:1. 把http://pear.php.net/go-pear下载下来;2. php go-pear.
如果装的是zip版本,请执行php -d phar.require_hash=0 go-pear.phar,或者按照上边installer的方法装非phar版本的PEAR。
|
|