note 19528 deleted from install.apache by betz
| From: | betz@php.net | Date: | Mon, 11 Nov 2002 22:02:35 +0000 |
| Subject: | note 19528 deleted from install.apache by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-39317@lists.php.net to get a copy of this message | ||
If you're trying to use Apache 2.0.x and PHP, you'll need to do the following:
First, make sure that when you configure PHP you use the --with-apxs2 option, like so:
--with-apxs2=/path/to/apache2/apxs. You need to use this instead of --with-apxs. Second, when you
edit your httpd.conf, instead of adding the AddType line, add the following:
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
to where you would normally add the AddType line. This works for me using PHP 4.1.2 and Apache
2.0.28. YMMV.