02/04/09 23:42 v8USxwZs
>>24
URLリンク(www.php.net)
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.