note 78780 deleted from install.unix by nlopess
| From: | nlopess@php.net | Date: | Sun, 28 Oct 2007 13:59:42 +0000 |
| Subject: | note 78780 deleted from install.unix by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-131788@lists.php.net to get a copy of this message | ||
Note Submitter: packard_bell_nec at hotmail dot com
----
Instead of adding:
application/x-httpd-php php
application/x-httpd-php-source phps
into Apache mime.types, you can add:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
into Apache httpd.conf, OR you can add:
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .phps
into Apache httpd.conf. The last one is the preferred way of configuration, but it does not work in
previous Apache versions.