#36772 [Fbk->Opn]: Apache installation docs erronously suggest AddType rather than AddModule
| From: | noodlet at gmail dot com | Date: | Fri, 17 Mar 2006 15:54:52 +0000 |
| Subject: | #36772 [Fbk->Opn]: Apache installation docs erronously suggest AddType rather than AddModule | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969372408@lists.php.net to get a copy of this message | ||
ID: 36772
User updated by: noodlet at gmail dot com
Reported By: noodlet at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
New Comment:
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)
Previous Comments:
------------------------------------------------------------------------
[2006-03-17 15:33:06] mike@php.net
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