是否可以将 Nginx 32 位与 php 64 位一起使用?

Is it possible to use use Nginx 32bit with php 64bit?

我是 PHP 和 Nginx 网络服务器的新手。我想在 Windows 64 位系统上使用 PHP 5.6 64 位设置一个 64 位 Nginx Web 服务器,但只有 32 位 Nginx 版本可用于 windows 官方。是否可以将 PHP 64 位与 Nginx 32 位 Web 服务器一起使用? 如果可以使用,对性能有影响吗?

非官方来源提供了 64 位 Nginx 版本,但他们建议不要将其用于生产,因此我需要坚持使用官方 32 位 Nginx 版本 windows。

提前致谢。

PHP 与 nginx 通常是 运行 作为 fastcgi 应用程序 (https://www.nginx.com/resources/wiki/start/topics/examples/phpfcgi/).

这将通过 windows 上的 TCP 套接字进行通信 - 因此远端是 64 位还是 32 位并不重要 php。

就 PHP 而言,如果性能是关键驱动因素,而您的新 - 您介意考虑查看 php 7,因为它比 php5 系列。 php 7 的开发在其页面 https://wiki.php.net/phpng 底部的 google 文档电子表格上有一些基准,表明了差异