note 78782 deleted from install.unix.apache2 by danbrown
| From: | danbrown@php.net | Date: | Thu, 15 Jan 2009 03:56:20 +0000 |
| Subject: | note 78782 deleted from install.unix.apache2 by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-149237@lists.php.net to get a copy of this message | ||
Note Submitter: packard_bell_nec at hotmail dot com
----
If you install PHP as an Apache module, you can consider the following. 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.