#33678 [Bgs]: Install.txt needs modification
| From: | jurgen at telebusiness dot net | Date: | Wed, 21 Sep 2005 17:51:33 +0000 |
| Subject: | #33678 [Bgs]: Install.txt needs modification | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969370259@lists.php.net to get a copy of this message | ||
ID: 33678
User updated by: jurgen at telebusiness dot net
Reported By: jurgen at telebusiness dot net
Status: Bogus
Bug Type: Documentation problem
Operating System: ALL
PHP Version: Irrelevant
New Comment:
It works the way I told.
So if it is not the right way, tell us the reason. Mime;types is the
place to put Your custom related extensions to apache,
and .php is one of them.
Previous Comments:
------------------------------------------------------------------------
[2005-09-19 14:11:32] sniper@php.net
Definately not correct way to add the types.
------------------------------------------------------------------------
[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