note 27195 added to install.linux
| From: | pradoderobles at angelfire dot com | Date: | Tue, 26 Nov 2002 20:47:14 +0000 |
| Subject: | note 27195 added to install.linux | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-40009@lists.php.net to get a copy of this message | ||
Note for Apache 2.0 on RedHat 8.0:
The configuration for PHP has been moved from httpd.conf into the file /etc/httpd/conf.d/php.conf.
For this file to be loaded, and hence for PHP to work, you must have the statement Include
conf.d/*.conf in your httpd.conf as described in Section 2.1.3.
PHP is now implemented as a filter and must therefore be enabled differently:
Example 9. Apache 1.3 PHP configuration
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Example 10. Equivalent Apache 2.0 PHP configuration
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
(from /usr/share/doc/httpd-2.0.40/migration.html)
--
http://www.php.net/manual/en/install.linux.php
http://master.php.net/manage/user-notes.php?action=edit+27195
http://master.php.net/manage/user-notes.php?action=delete+27195
http://master.php.net/manage/user-notes.php?action=reject+27195