Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/csharp-4.0/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows PHP 64位或32位_Php_Windows_Iis_Fastcgi_Windows Server 2016 - Fatal编程技术网

Windows PHP 64位或32位

Windows PHP 64位或32位,php,windows,iis,fastcgi,windows-server-2016,Php,Windows,Iis,Fastcgi,Windows Server 2016,我想在Windows2016服务器标准64位操作系统上安装PHP,但我感到困惑,因为没有适用于PHP7.x和PHP5.x的FastCGI 我应该在IIS上手动安装PHP7 64位还是32位? 或者我应该在PHP5.3中使用32位的旧FastCGI吗?PHP cgi.exe作为标准包含在中。下载并解压缩PHP二进制文件后,您只需在IIS中设置一个新版本。绝对不要使用5.3,因为这是不推荐使用且过时的PHP版本。如果必须使用5.x,至少使用5.6。许多函数在5.3中不起作用,5.6中引入了许多新函数

我想在Windows2016服务器标准64位操作系统上安装PHP,但我感到困惑,因为没有适用于PHP7.x和PHP5.x的FastCGI

我应该在IIS上手动安装PHP7 64位还是32位?
或者我应该在PHP5.3中使用32位的旧FastCGI吗?

PHP cgi.exe
作为标准包含在中。下载并解压缩PHP二进制文件后,您只需在IIS中设置一个新版本。

绝对不要使用5.3,因为这是不推荐使用且过时的PHP版本。如果必须使用5.x,至少使用5.6。许多函数在5.3中不起作用,5.6中引入了许多新函数,这使得这个版本的php更接近于7.x功能。“没有适用于PHP7.x的FastCGI,只有5.x”是不正确的。同样的FastCGI设置也可以用于PHP7.x,正如下面的答案所示。