Index: unix/apache1.xml
===================================================================
RCS file: /repository/phpdoc/en/install/unix/apache1.xml,v
retrieving revision 1.5
diff -u -r1.5 apache1.xml
--- unix/apache1.xml 1 Dec 2005 00:12:13 -0000 1.5
+++ unix/apache1.xml 17 Mar 2006 17:45:13 -0000
@@ -93,12 +93,12 @@
have any extension(s) parse as PHP by simply adding more, with
each separated by a space. We'll add .phtml to demonstrate.
- AddType application/x-httpd-php .php .phtml
+ AddHandler application/x-httpd-php .php .phtml
It's also common to setup the .phps extension to show highlighted PHP
source, this can be done with:
- AddType application/x-httpd-php-source .phps
+ AddHandler application/x-httpd-php-source .phps
17. Use your normal procedure for starting the Apache server. (You must
stop and restart the server, not just cause the server to reload by
@@ -143,7 +143,7 @@
15. You can edit /usr/local/lib/php.ini file to set PHP options.
Edit your httpd.conf or srm.conf file and add:
- AddType application/x-httpd-php .php
+ AddHandler application/x-httpd-php .php
]]>
Index: unix/apache2.xml
===================================================================
RCS file: /repository/phpdoc/en/install/unix/apache2.xml,v
retrieving revision 1.6
diff -u -r1.6 apache2.xml
--- unix/apache2.xml 12 Aug 2005 14:24:56 -0000 1.6
+++ unix/apache2.xml 17 Mar 2006 17:45:13 -0000
@@ -101,12 +101,12 @@
have any extension(s) parse as PHP by simply adding more, with
each separated by a space. We'll add .phtml to demonstrate.
- AddType application/x-httpd-php .php .phtml
+ AddHandler application/x-httpd-php .php .phtml
It's also common to setup the .phps extension to show highlighted PHP
source, this can be done with:
- AddType application/x-httpd-php-source .phps
+ AddHandler application/x-httpd-php-source .phps
16. Use your normal procedure for starting the Apache server, e.g.:
Index: windows/apache1.xml
===================================================================
RCS file: /repository/phpdoc/en/install/windows/apache1.xml,v
retrieving revision 1.16
diff -u -r1.16 apache1.xml
--- windows/apache1.xml 7 Mar 2005 18:43:37 -0000 1.16
+++ windows/apache1.xml 17 Mar 2006 17:45:13 -0000
@@ -89,10 +89,10 @@
conditional brace
-AddType application/x-httpd-php .php
+AddHandler application/x-httpd-php .php
# For syntax highlighted .phps files, also add
-AddType application/x-httpd-php-source .phps
+AddHandler application/x-httpd-php-source .phps
]]>
@@ -113,7 +113,7 @@