简体   繁体   English

如何在 windows 10 / 64bit / wampserver 64bit 上安装 php 5.3?

[英]How to install php 5.3 on windows 10 / 64bit / wampserver 64bit?

I am to work on a project currently running on php 5.3.我将从事当前在 php 5.3 上运行的项目。 The only php exe I found for windows is : php-5.3.29-Win32-VC9-x86.zip.我为 Windows 找到的唯一 php exe 是:php-5.3.29-Win32-VC9-x86.zip。 No x64 version found.未找到 x64 版本。 So far, my firt try at installing locally ( wampserver 64bits ) has failed : Apache will not start with php5_module pointing to the "php-5.3.29-Win32-VC9-x86.zip" executable (dll).到目前为止,我在本地安装( wampserver 64bits )的第一次尝试失败了:Apache 将不会以指向“php-5.3.29-Win32-VC9-x86.zip”可执行文件(dll)的 php5_module 启动。

Can anyone confirm php 5.3 can actually run on a 64bits pc ?谁能确认 php 5.3 实际上可以在 64 位电脑上运行

If confirmed as feasable, can you please help me ?如果确认可行,你能帮我吗? (which download to use, should I use IIS/fastCGI instead, etc. ?) (要使用哪个下载,我应该改用 IIS/fastCGI 等吗?)

Thanks in advance for any help,在此先感谢您的帮助,

Paco帕科

I know this is not really the answer you want, but you REALLY should not use 5.3 .. It hasn't gotten any security patches in 3 years.我知道这不是您真正想要的答案,但您真的不应该使用 5.3 .. 它已经 3 年没有获得任何安全补丁了。 If you project is not compatible with 7.1, you should at least be using 5.6.如果您的项目与 7.1 不兼容,您至少应该使用 5.6。

You can get that here: http://windows.php.net/download#php-5.6你可以在这里得到: http : //windows.php.net/download#php-5.6

Try XAMPP.试试 XAMPP。 It runs on both x64 and x32 bit Windows PC https://www.apachefriends.org/download.html它在 x64 和 x32 位 Windows PC 上运行https://www.apachefriends.org/download.html

The answer is of course yes.答案当然是肯定的。

PHP on IIS goes through FastCGI, so that even on 64 bit Windows the IIS components are 64 bit, php-cgi.exe as FastCGI client can run as 32 bit. IIS 上的 PHP 通过 FastCGI,因此即使在 64 位 Windows 上,IIS 组件也是 64 位,作为 FastCGI 客户端的php-cgi.exe可以作为 32 位运行。 You should try to run 32 bit of PHP 5.x as based on observation the corresponding 64 bit builds (if available) are not as stable as it should.您应该尝试运行 32 位 PHP 5.x,因为根据观察,相应的 64 位构建(如果可用)并不像它应该的那样稳定。

Like others commented, you really should upgrade now to 7.x (even 5.6 reaches end of life in 2018), or never.就像其他人评论的那样,你真的应该现在升级到 7.x(甚至 5.6 到 2018 年就结束了),或者永远不要升级。

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

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