note 19528 added to install.apache
| From: | rufo at NOSPAMrochester dot YUPMETOO dot rr dot com | Date: | Fri, 01 Mar 2002 21:09:28 +0000 |
| Subject: | note 19528 added to install.apache | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27242@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.
--
http://www.php.net/manual/en/install.apache.php
http://master.php.net/manage/user-notes.php?action=edit+19528
http://master.php.net/manage/user-notes.php?action=delete+19528
http://master.php.net/manage/user-notes.php?action=reject+19528