Re: PHP doesn't work with Apache2
| From: | ApplePro | Date: | Sat, 24 Nov 2007 16:12:33 +0000 |
| Subject: | Re: PHP doesn't work with Apache2 | ||
| References: | 1 2 3 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-18391@lists.php.net to get a copy of this message | ||
Keith Roberts <keith <at> karsites.net> writes:
> To add to Dave's points:
>
> Maybe the yum install of php is adding the following line to
> your httpd.conf file for you, which you will need to add
> manually when you compile php yourself?
>
> AddType application/x-httpd-php .php
>
> AddType application/x-httpd-php .hml
> AddType application/x-httpd-php .htm
> AddType application/x-httpd-php .html
Thanks Keith, I've added code and rebooted server, but it still doesn't work.
PS: Sorry for pruned quote, but Gmane doesn't allow to post too much quote.