note 103103 added to install.windows.iis7
| From: | janyeh at gmail dot com | Date: | Fri, 25 Mar 2011 21:02:12 +0000 |
| Subject: | note 103103 added to install.windows.iis7 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-178214@lists.php.net to get a copy of this message | ||
Correct some minor text in the instruction of Windows 7 / Windows 2008 Server.
Assume you put the PHP files in C:\PHP folder. Here are the commands for your easy copy-and-paste
into command-line.
Example #5
icacls C:\inetpub\wwwroot\upload /grant IUSR:(OI)(CI)(M)
--> change "C:\inetpub\wwwroot\upload" to the folder you will have others upload files
to your web server.
Example #7
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/fastCgi ^
/+"[fullPath='C:\PHP\php-cgi.exe'].environmentVariables.^
[name='PHP_FCGI_MAX_REQUESTS',value='10000']"
--> Change "{php_folder}" to "PHP" directly
Example #9
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/fastCgi ^
/+"[fullPath='C:\php\php-cgi.exe',arguments=''].environmentVariables.^
[name='PHPRC',value='C:\PHP\']" /commit:apphost
--> Add "%windir%\system32\inetsrv\" path
--> Change "C:\php\php.exe" to "C:\php\php-cgi.exe", otherwise it can't
find the place to add this setting.
--> Change "C:\Some\Directory\" to "C:\PHP\" directly
----
Server IP: 69.147.83.197
Probable Submitter: 220.132.10.112
----
Manual Page -- http://www.php.net/manual/en/install.windows.iis7.php
Edit -- https://master.php.net/note/edit/103103
Del: integrated -- https://master.php.net/note/delete/103103/integrated
Del: useless -- https://master.php.net/note/delete/103103/useless
Del: bad code -- https://master.php.net/note/delete/103103/bad+code
Del: spam -- https://master.php.net/note/delete/103103/spam
Del: non-english -- https://master.php.net/note/delete/103103/non-english
Del: in docs -- https://master.php.net/note/delete/103103/in+docs
Del: other reasons-- https://master.php.net/note/delete/103103
Reject -- https://master.php.net/note/reject/103103
Search -- https://master.php.net/manage/user-notes.php