fixing filename tags

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164837 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Damien Seguy 2004-07-31 18:30:07 +00:00
parent 60e219c2d8
commit 081b673e4f

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.29 $ -->
<!-- $Revision: 1.30 $ -->
<appendix id="migration5">
<title>Migrating from PHP 4 to PHP 5</title>
@ -192,9 +192,9 @@ class b implements c {
<title>CLI and CGI</title>
<para>
In PHP 5 there were some changes in CLI and CGI filenames. In PHP 5, the
CGI version was renamed to <literal>php-cgi.exe</literal> (previously
<literal>php.exe</literal>) and the CLI version now sits in the main
directory (previously <literal>cli/php.exe</literal>).
CGI version was renamed to <filename>php-cgi.exe</filename> (previously
<filename>php.exe</filename>) and the CLI version now sits in the main
directory (previously <filename>cli/php.exe</filename>).
</para>
<para>
In PHP 5 it was also introduced a new mode:
@ -227,7 +227,8 @@ class b implements c {
<para>
Migrate the Apache configuration is extremely easy. See the example below
to check the change you need to do:
<informalexample>
<example>
<title>Migrating Apache configuration files for PHP 5</title>
<programlisting role="apache-conf">
<![CDATA[
# change this line:
@ -237,13 +238,15 @@ LoadModule php4_module /php/sapi/php4apache2.dll
LoadModule php5_module /php/php5apache2.dll
]]>
</programlisting>
</informalexample>
</example>
</para>
<para>
If your webserver is running PHP in CGI mode, you should note that the
CGI version has changed its name from php.exe to php-cgi.exe.
In Apache you should do something like this:
<informalexample>
CGI version has changed its name :
(<filename>php.exe</filename> becomes <filename>php-cgi.exe</filename>.
In Apache, you should do something like this:
<example>
<title>Migrating Apache configuration files for PHP 5, CGI mode</title>
<programlisting role="apache-conf">
<![CDATA[
# change this line:
@ -253,7 +256,7 @@ Action application/x-httpd-php "/php/php.exe"
Action application/x-httpd-php "/php/php-cgi.exe"
]]>
</programlisting>
</informalexample>
</example>
</para>
<para>
In other webservers you need to change either the CGI or the ISAPI module