#33678 [Opn->Bgs]: Install.txt needs modification
| From: | sniper@php.net | Date: | Mon, 19 Sep 2005 12:11:33 +0000 |
| Subject: | #33678 [Opn->Bgs]: Install.txt needs modification | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969370184@lists.php.net to get a copy of this message | ||
ID: 33678
Updated by: sniper@php.net
Reported By: jurgen at telebusiness dot net
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: ALL
PHP Version: Irrelevant
New Comment:
Definately not correct way to add the types.
Previous Comments:
------------------------------------------------------------------------
[2005-07-13 14:12:49] jurgen at telebusiness dot net
Description:
------------
Currently I disagree with this section in INSTALL.TXT:
(Recurring in seceral sections !!!)
# Add this line inside the <IfModule mod_mime.c> conditional brace
AddType application/x-httpd-php .php
# For syntax highlighted .phps files, also add
AddType application/x-httpd-php-source .phps
Because: AddType OVERWRITES mimes.types definitions.
So don't use Addtype in httpd.conf but change mimes.types
with: (append after line application/pgp-signature)
application/x-httpd-php php
application/x-httpd-php-source phps
This works both for windows and unix.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33678&edit=1