简体   繁体   English

在Windows Server 2012 IIS 8上安装PHP

[英]Php installation on windows server 2012 IIS 8

I am trying to host a php website on windows server 2012 with IIS 8. I have installed php using the WPI and have followed the enitre installation process given at : http://www.rackspace.com/knowledge_center/article/installing-php-on-windows-server-2012 我正在尝试使用IIS 8在Windows Server 2012上托管一个php网站。我已经使用WPI安装了php,并遵循了以下网址提供的enitre安装过程: http ://www.rackspace.com/knowledge_center/article/installing-php -on-Windows的服务器-2012

But even after succesfull installation when I am trying to run info.php the following error is shown: 但是即使在成功安装完全成功之后,当我尝试运行info.php时,也会显示以下错误:

在此处输入图片说明

在此处输入图片说明

Can anyone help me out with solving this error? 谁能帮我解决这个错误?

My first guess that you're missing to install " FastCGI module " or it is not activated in Handler Mappings for iis. 我的第一个猜测是,您缺少安装“ FastCGI模块 ”,或者在iis的Handler Mappings中未激活它。 That model is necessary for php. 该模型对于php是必需的。

Check this: http://www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/using-fastcgi-to-host-php-applications-on-iis 检查此内容: http : //www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/using-fastcgi-to-host-php-applications-on-iis

Well, this guide using Windows Server 2008, but it's the same concept as Windows Server 2012. 嗯,本指南使用Windows Server 2008,但与Windows Server 2012的概念相同。

After installing try to open Internet Explorer as administrator (if you're using other account instead of the administrator account) 安装后,尝试以管理员身份打开Internet Explorer(如果您使用的是其他帐户而不是管理员帐户)

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

相关问题 在Windows安装PHP后无法连接到Windows Server 2012 IIS 7 - Cannot Connect to Windows server 2012 IIS 7 after installing PHP for windows Php应用程序移动到另一台服务器Windows 2012与IIS 7,但无法正常工作 - Php application moved to another server Windows 2012 with IIS 7, but not working Zend OPcache 问题(Windows Server 2012 + IIS + Plesk + PHP 7) - Zend OPcache Issue (Windows Server 2012 + IIS + Plesk + PHP 7) 尽管FastCGI和MySQL一样,但PHP并没有在IIS Windows Server 2012上运行 - PHP is not running on IIS Windows Server 2012 although FastCGI is and MySQL is PHP无法在Server 2012的IIS服务器8中工作? - PHP not worked in IIS server 8 on server 2012? Windows Server 2012 IIS PHP无法通过php.ini设置时区 - Windows Server 2012 IIS PHP Unable to set timezone through php.ini 无法使用IIS Windows Server 2012将使用PHP脚本的Powershell电子邮件发送到Outlook - Unable to send powershell email using php script to outlook using iis windows server 2012 IIS、Windows Server 2012 R2 上的 WordPress (PHP 5.6) 中缺少临时文件夹 - Missing Temporary Folder in WordPress (PHP 5.6) on IIS, Windows Server 2012 R2 使用IIS问题在Windows Server 2003上安装DokuWiki - DokuWiki Installation on Windows server 2003 using IIS problems 使用PHP_SQLSRV在IIS8上连接到SQL Server 2012 - Connecting to SQL Server 2012 on IIS8 with PHP_SQLSRV
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM