ID:               36772
 Updated by:       [EMAIL PROTECTED]
 Reported By:      noodlet at gmail dot com
-Status:           Open
+Status:           Wont fix
 Bug Type:         Documentation problem
 Operating System: N/A
 PHP Version:      Irrelevant
 New Comment:

Rasmus comments about this (
http://marc.theaimsgroup.com/?l=php-dev&m=110358407015432&w=2 ):

"There was a time when there was no AddHandler directive.  Addtype was
the way you did this.  Since AddType works with every version of Apache
I never saw a 
reason to change this even after AddHandler was added since it is
purely academic in nature."



Previous Comments:
------------------------------------------------------------------------

[2006-03-17 18:50:24] [EMAIL PROTECTED]

Ok, if AddHandler is definitely the term to have in the manual for
Apache1/2, then here is the patch :

http://www.colder.ch/patches/apache-configuration.patch

Thanks in advance.



------------------------------------------------------------------------

[2006-03-17 16:54:51] noodlet at gmail dot com

Sorry!

I meant AddHandler, not AddModule.

AddHandler application/x-httpd-php .php .phtml
AddHandler application/x-httpd-php-source .phps

noodl
(Must remember to think before typing)

------------------------------------------------------------------------

[2006-03-17 15:33:06] [EMAIL PROTECTED]

What are you talking about, AddModule just loads the libphp[45].so
apache module?


------------------------------------------------------------------------

[2006-03-17 15:26:36] noodlet at gmail dot com

Description:
------------
http://www.php.net/manual/en/install.unix.apache2.php

Has:

AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps

as part of step 15. While this _works_, it's an old and grotty hack.
The correct directive to use is AddModule.

Thanks



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36772&edit=1

Reply via email to