我需要在运行 Apache 的 Windows 机器上安装 PHP 5.3.x(最好是 x >= 4)。不幸的是,在 PHP downloads page ,我找不到任何用 VC6 编译的 PHP 5.3.x。所以……
- 我可以在 Apache 上使用 VC9 二进制文件吗?
- 如果是,怎么做?我需要做什么特别的事情吗?
最佳答案
来自发布公告:
Windows users: please mind that we do no longer provide builds created with Visual Studio C++ 6. It is impossible to maintain a high quality and safe build of PHP for Windows using this unmaintained compiler.
For Apache SAPIs (php5_apache2_2.dll), be sure that you use a Visual Studio C++ 9 version of Apache. We recommend the PHP builds as provided by ApacheLounge. For any other SAPI (CLI, FastCGI via mod_fcgi, FastCGI with IIS or other FastCGI capable server), everything works as before. Third party extension providers must rebuild their extensions to make them compatible and loadable with the Visual Studio C++9 builds that we no longer provide.
关于php - 不再有 PHP 5.3.x 的 VC6 版本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5346568/