1. Server system Environment Windows Server -R2 Enterprise 64-bit operating system2. Required Software Iis7phpmanager http://phpmanager.codeplex.com/releases/view/69115php-5.5. --win32-vc11-x64:http://windows.php.net/download/mysql-installer-community-5.5.28.3. Msi:http://dev.mysql.com/downloads/installer/Navicat_for_mysql_10.0.11. 0_xiazaiba.exe:vcredist_x64.exe (Msvcr110.dll) Remarks: Installing IIS+phpmanager+php Tutorial Step Address: http://jingyan.baidu.com/article/f0e83a25a86cb022e59101be.htmlhttp://blog.csdn.net/zevin/article/details/69289733. Configuring the PHP Environment1). Download the package (php-5.5. --win32-vc11-x64) is extracted directly to C:. Copy one of the php-Development.ini to PHP.ini2). Open php.ini File3). Modify extension path: Extension_dir ="C:\php-5.5.25-Win32-VC11-x64\ext"(write your own actual path here, note: Remove the front; semicolon)4). Turn on the following modules (Php_curl.dll php_mysql.dll php_mysqli.dll php_pdo_mysql.dll php_xmlrpc.dll php_curl.dll)5) Modify Date.timezone ="Asia/shanghai"4. Configuring the MySQL Environment1). Locate the My.ini configuration file in your MySQL directory, and add or modify the following code Max_allowed_packet=500m; wait_timeout=288000; Interactive_timeout =288000; You can change the value of your own, and finally remember to restart your MySQL service.5. Publishing Web sites on IIS6. Create a database from Navicat_for_mysql_10 software and import Web site data (import data by backup, restore)7. Modify the Web site's database link configuration open, Web site root directory \sites\default\settings.php Find the following code $databases=Array ('default'=Array ('default'=Array ('Database'='database name created in step 6th', 'username'='Root', 'Password'='****', 'Host'='localhost', 'Port'="', 'Driver'='MySQL', 'prefix'="', ), ), );8accessing the published Web site in the browser9. Frequently asked questions (reference URL: http://blog.sina.com.cn/s/blog_5093fd500102vkob.html)HTTP Error500.0-Internal Server Error E:\Program files\php\php-cgi.exe-The FastCGI process exceeds the configured activity time-out time-out, and the solution is as follows: Use%windir%\system32\inetsrv\appcmd.exe List config/section:fastcgi/text:*Gets the current configuration Config config. Section:"system.webserver/fastcgi"Path:"Machine/webroot/apphost"OverrideMode:"Inherit"Locked:"false"[system.webserver/FastCgi] [Application] FullPath:"E:\Program Files\php\php-cgi.exe"arguments:""maxinstances:"4"idleTimeout:" -"activitytimeout:" -"requesttimeout:" -"instancemaxrequests:" $"protocol:"Namedpipe"queuelength:" +"Flushnamedpipe:"false"Rapidfailsperminute:"Ten"[environmentvariables] using AppcmdSetconfig-section:system.webserver/fastcgi/[fullpath='E:\Program Files\php\php-cgi.exe'].activitytimeout: -change the time-out period to 10 minutes (maximum can be set to 1 hours) but error: Error (message: Cannot find with identifier "files\php\php-cgi.exe'].activitytimeout:600 "is the SITE object. )All Search Chinese websites php-There are no spaces in the path of Cgi.exe, but I have to do so. Finally ran to the foreigner's online found the solution:%windir%\system32\inetsrv\appcmdSetconfig/section:system.webserver/fastcgi"/[fullpath= ' E:\Program files\php\php-cgi.exe '].activitytimeout:600"Second,%windir%\system32\inetsrv\appcmdSetconfig-section:system.webserver/fastcgi/[fullpath='C:\php\php-cgi.exe'].activitytimeout: -if it still doesn't work, look at the IIS application pool, which can be changed to default (DefaultAppPool). Third,%windir%\system32\inetsrv\appcmdSetconfig-section:system.webserver/fastcgi/[fullpath='C:\php\php-cgi.exe'].activitytimeout: -View current configuration%windir%\system32\inetsrv\appcmd List config-section:system.webserver/fastcgi are both run under CMD and can be edited in C:\Windows\System32\inetsrv\config\applicationHost.config
DRUPAL7 website +iis7.0+php+mysql