简体   繁体   English

没有PHP 5.3.x的VC6版本?

[英]No more VC6 versions of PHP 5.3.x?

I need to install PHP 5.3.x (preferably x >= 4) on Windows box running Apache. 我需要在运行Apache的Windows机器上安装PHP 5.3.x(最好是x> = 4)。 Unfortunately, in the PHP downloads page , I cannot find any PHP 5.3.x compiled with VC6. 不幸的是,在PHP下载页面中 ,我找不到任何用VC6编译的PHP 5.3.x. So... 所以...

  • Can I use the VC9 binaries on Apache? 我可以在Apache上使用VC9二进制文件吗?
  • If so, how? 如果是这样,怎么样? Do I have to do anything special? 我必须做一些特别的事吗?

From the release announcement: 从发布公告:

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. Windows用户:请注意,我们不再提供使用Visual Studio C ++ 6创建的构建。使用这个未维护的编译器,不可能为Windows维护高质量和安全的PHP构建。

For Apache SAPIs (php5_apache2_2.dll), be sure that you use a Visual Studio C++ 9 version of Apache. 对于Apache SAPI(php5_apache2_2.dll),请确保使用的是Visual Studio C ++ 9版本的Apache。 We recommend the PHP builds as provided by ApacheLounge. 我们建议使用ApacheLounge提供的PHP构建。 For any other SAPI (CLI, FastCGI via mod_fcgi, FastCGI with IIS or other FastCGI capable server), everything works as before. 对于任何其他SAPI(CLI,FastCGI通过mod_fcgi,FastCGI与IIS或其他支持FastCGI的服务器),一切都像以前一样工作。 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. 第三方扩展提供程序必须重建其扩展,以使它们与我们不再提供的Visual Studio C ++ 9版本兼容和加载。

http://www.apachelounge.com/download/ http://www.apachelounge.com/download/

用于VC6服务器的PHP 5.3.5仍然可用: http//windows.php.net/downloads/releases/archives/

http://www.apachelounge.com/viewtopic.php?t=2743 - In this thread, they say that using VC9 PHP is not recommended at all with VC6 Apache, even though it might work at first. http://www.apachelounge.com/viewtopic.php?t=2743 - 在这个帖子中,他们说VC6 Apache不建议使用VC9 PHP,尽管它最初可能会起作用。 They don't say why. 他们没有说明原因。

http://windows.php.net/qa/ - Here, they also state not to use PHP5.3 VC9 with Apache compiled with VC6 (and also don't state why). http://windows.php.net/qa/ - 在这里,他们还说明不使用PHP5.3 VC9和用VC6编译的Apache(并且也没有说明原因)。

I think it might be best to upgrade your Apache to the VC9 version: http://www.apachelounge.com/download/ 我认为最好将Apache升级到VC9版本: http//www.apachelounge.com/download/

我很确定你可以从http://www.apachelounge.com/download/安装Apache的VC9版本,它们将与5.3.x VC9版本一起使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM