dams Tue Feb 11 06:16:57 2003 EDT
Modified files:
/phpdoc/en/appendices migration4.xml
Log:
use of entity safemode;
Index: phpdoc/en/appendices/migration4.xml
diff -u phpdoc/en/appendices/migration4.xml:1.28
phpdoc/en/appendices/migration4.xml:1.29
--- phpdoc/en/appendices/migration4.xml:1.28 Mon Jan 20 11:07:35 2003
+++ phpdoc/en/appendices/migration4.xml Tue Feb 11 06:16:57 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.28 $ -->
+<!-- $Revision: 1.29 $ -->
<appendix id="migration4">
<title>Migrating from PHP 3 to PHP 4</title>
@@ -108,14 +108,32 @@
There are two differences between the Admin values and the non admin values:
</simpara>
<itemizedlist>
- <listitem><simpara>Admin values (or flags) can only appear in the server-wide
apache configuration files (e.g., httpd.conf).</simpara></listitem>
- <listitem><simpara>Standard values (or flags) cannot control certain PHP
directives, for example - safe mode (if you could override safe mode settings in
.htaccess files, it would defeat safe-mode's purpose). In contrast, Admin values can
modify the value of any PHP directive.</simpara></listitem>
+ <listitem>
+ <simpara>
+ Admin values (or flags) can only appear in the server-wide Apache configuration
+ files (e.g., httpd.conf).
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ Standard values (or flags) cannot control certain PHP directives, for example:
+ &safemode; (if you could override safe mode settings in
+ <filename>.htaccess</filename> files, it
+ would defeat &safemode;'s purpose). In contrast, Admin values can modify
+ the value of any PHP directive.
+ </simpara>
+ </listitem>
</itemizedlist>
<simpara>
- To make the transition process easier, PHP 4 is bundled with scripts that
automatically convert your Apache configuration and .htaccess files to work with both
PHP 3 and PHP 4. These scripts do NOT convert the mime type lines! You have to convert
these yourself.
+ To make the transition process easier, PHP 4 is bundled with scripts
+ that automatically convert your Apache configuration and
+ <filename>.htaccess</filename> files
+ to work with both PHP 3 and PHP 4. These scripts do NOT convert the mime
+ type lines! You have to convert these yourself.
</simpara>
<para>
- To convert your Apache configuration files, run the apconf-conv.sh script
(available in the scripts/apache/ directory). For example:
+ To convert your Apache configuration files, run the apconf-conv.sh
+ script (available in the scripts/apache/ directory). For example:
<informalexample>
<programlisting role="shell">
<![CDATA[
@@ -128,17 +146,20 @@
Your original configuration file will be saved in httpd.conf.orig.
</simpara>
<para>
- To convert your .htaccess files, run the aphtaccess-conv.sh script (available in
the scripts/apache/ directory as well):
+ To convert your <filename>.htaccess</filename> files, run the
+ <filename>aphtaccess-conv.sh</filename> script (available in
+ the <dirname>scripts/apache/<dirname> directory as well):
<informalexample>
<programlisting role="shell">
<![CDATA[
~/php4/scripts/apache:# find / -name .htaccess -exec ./aphtaccess-conv.sh {} \;
]]>
- </programlisting>
- </informalexample>
+ </programlisting>
+ </informalexample>
</para>
<simpara>
- Likewise, your old .htaccess files will be saved with an .orig prefix.
+ Likewise, your old <filename>.htaccess</filename> files will be saved with
+ an .orig prefix.
</simpara>
<simpara>
The conversion scripts require awk to be installed.
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php