svn: /phpdoc/en/trunk/install/windows/ iis.xml

From: Date: Wed, 09 Sep 2009 02:37:33 +0000
Subject: svn: /phpdoc/en/trunk/install/windows/ iis.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4879@lists.php.net to get a copy of this message
philip Wed, 09 Sep 2009 02:37:33 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=288179 Log: Removed old PWS stuff. These docs are still sketchy, but this is a start. Changed paths: U phpdoc/en/trunk/install/windows/iis.xml Modified: phpdoc/en/trunk/install/windows/iis.xml =================================================================== --- phpdoc/en/trunk/install/windows/iis.xml 2009-09-09 02:13:38 UTC (rev 288178) +++ phpdoc/en/trunk/install/windows/iis.xml 2009-09-09 02:37:33 UTC (rev 288179) @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision$ --> <sect1 xml:id="install.windows.iis" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>Microsoft IIS / PWS</title> + <title>Microsoft IIS</title> <para> This section contains notes and hints specific to IIS (Microsoft Internet Information Server). @@ -10,7 +10,7 @@ &warn.install.cgi; <sect2 xml:id="install.windows.iis.general"> - <title>General considerations for all installations of PHP with IIS or PWS</title> + <title>General considerations for all installations of PHP with IIS</title> <para> <itemizedlist> <listitem> @@ -81,7 +81,7 @@ <listitem> <simpara> When defining the executable, the 'check that file exists' box may also - be checked. For a small performance penalty, the IIS (or PWS) will check + be checked. For a small performance penalty, the IIS will check that the script file exists and sort out authentication before firing up PHP. This means that the web server will provide sensible 404 style error messages instead of CGI errors complaining that PHP did not output @@ -219,201 +219,6 @@ setting <literal>Cache ISAPI Application</literal>. </para> </sect2> - - <sect2 xml:id="install.windows.iis.pws4"> - <title>Windows and PWS 4</title> - <simpara> - PWS 4 does not support ISAPI, only PHP CGI should be used. - </simpara> - <para> - <itemizedlist> - <listitem> - <simpara> - Edit the enclosed <filename>pws-php4cgi.reg</filename> / - <filename>pws-php5cgi.reg</filename> file (look into the SAPI folder - for PHP 4, or in the main folder for PHP 5) to reflect the location of - your <filename>php.exe</filename> / <filename>php-cgi.exe</filename>. - Backslashes should be escaped, for example: - <literal>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script - Map] ".php"="C:\\php\\php.exe"</literal> (change to - <literal>C:\\php\\php-cgi.exe</literal> if you are using PHP 5) - Now merge this registery file into your system; you may do - this by double-clicking it. - </simpara> - </listitem> - <listitem> - <simpara> - In the PWS Manager, right click on a given directory you want - to add PHP support to, and select Properties. Check the 'Execute' - checkbox, and confirm. - </simpara> - </listitem> - </itemizedlist> - </para> - </sect2> - - <sect2 xml:id="install.windows.iis.iis3"> - <title>Windows and PWS/IIS 3</title> - <simpara> - The recommended method for configuring these servers is to use - the REG file included with the distribution - (<filename>pws-php4cgi.reg</filename> in the SAPI folder for PHP 4, or - <filename>pws-php5cgi.reg</filename> in the main folder for PHP 5). - You may want to edit this file and make sure - the extensions and PHP install directories match your - configuration. Or you can follow the steps below to do it - manually. - </simpara> - <warning> - <para> - These steps involve working directly with the Windows - registry. One error here can leave your system in an unstable - state. We highly recommend that you back up your registry - first. The PHP Development team will not be held responsible if - you damage your registry. - </para> - </warning> - - <para> - <itemizedlist> - <listitem> - <simpara> - Run Regedit. - </simpara> - </listitem> - <listitem> - <simpara> - Navigate to: <literal>HKEY_LOCAL_MACHINE /System - /CurrentControlSet /Services /W3Svc /Parameters - /ScriptMap</literal>. - </simpara> - </listitem> - <listitem> - <simpara> - On the edit menu select: <literal>New->String Value</literal>. - </simpara> - </listitem> - <listitem> - <simpara> - Type in the extension you wish to use for your php - scripts. For example <literal>.php</literal> - </simpara> - </listitem> - <listitem> - <simpara> - Double click on the new string value and enter the path to - <filename>php.exe</filename> in the value data field. ex: - <filename>C:\php\php.exe "%s" %s</filename> for PHP 4, or - <filename>C:\php\php-cgi.exe "%s" %s</filename> for PHP 5. - </simpara> - </listitem> - <listitem> - <simpara> - Repeat these steps for each extension you wish to associate - with PHP scripts. - </simpara> - </listitem> - </itemizedlist> - </para> - <para> - The following steps do not affect the web server installation - and only apply if you want your PHP scripts to be executed when - they are run from the command line (ex. run - <filename>C:\myscripts\test.php</filename>) or by double clicking - on them in a directory viewer window. You may wish to skip these - steps as you might prefer the PHP files to load into a text - editor when you double click on them. - </para> - <para> - <itemizedlist> - <listitem> - <simpara> - Navigate to: <literal>HKEY_CLASSES_ROOT</literal> - </simpara> - </listitem> - <listitem> - <simpara> - On the edit menu select: <literal>New->Key</literal>. - </simpara> - </listitem> - <listitem> - <simpara> - Name the key to the extension you setup in the previous - section. ex: <literal>.php</literal> - </simpara> - </listitem> - <listitem> - <simpara> - Highlight the new key and in the right side pane, double click - the "default value" and enter <literal>phpfile</literal>. - </simpara> - </listitem> - <listitem> - <simpara> - Repeat the last step for each extension you set up in the - previous section. - </simpara> - </listitem> - <listitem> - <simpara> - Now create another <literal>New->Key</literal> under - <literal>HKEY_CLASSES_ROOT</literal> and name it - <literal>phpfile</literal>. - </simpara> - </listitem> - <listitem> - <simpara> - Highlight the new key <literal>phpfile</literal> and in the - right side pane, double click the "default value" and enter - <literal>PHP Script</literal>. - </simpara> - </listitem> - <listitem> - <simpara> - Right click on the <literal>phpfile</literal> key and select - <literal>New->Key</literal>, name it <literal>Shell</literal>. - </simpara> - </listitem> - <listitem> - <simpara> - Right click on the <literal>Shell</literal> key and select - <literal>New->Key</literal>, name it <literal>open</literal>. - </simpara> - </listitem> - <listitem> - <simpara> - Right click on the <literal>open</literal> key and select - <literal>New->Key</literal>, name it - <literal>command</literal>. - </simpara> - </listitem> - <listitem> - <simpara> - Highlight the new key <literal>command</literal> and in the - right side pane, double click the "default value" and enter - the path to <filename>php.exe</filename>. ex: - <literal>c:\php\php.exe -q %1</literal>. (don't forget the - <literal>%1</literal>). - </simpara> - </listitem> - <listitem> - <simpara> - Exit Regedit. - </simpara> - </listitem> - <listitem> - <simpara> - If using PWS on Windows, reboot to reload the registry. - </simpara> - </listitem> - </itemizedlist> - </para> - <simpara> - PWS and IIS 3 users now have a fully operational system. IIS 3 - users can use a nifty <link xlink:href="&url.iiscfg;">tool</link> - from Steven Genusa to configure their script maps. - </simpara> - </sect2> </sect1> <!-- Keep this comment at the end of the file

« previous php.doc.cvs (#4879) next »