#25608 [Opn->Fbk]: php config lines for httpd.conf
| From: | jmcastagnetto@php.net | Date: | Fri, 19 Sep 2003 22:04:51 +0000 |
| Subject: | #25608 [Opn->Fbk]: php config lines for httpd.conf | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969356355@lists.php.net to get a copy of this message | ||
ID: 25608
Updated by: jmcastagnetto@php.net
Reported By: orn dot asgeirsson at decode dot is
-Status: Open
+Status: Feedback
Bug Type: Documentation problem
Operating System: windows xp
PHP Version: 4.3.3
New Comment:
Please indicate the server used and its version.
Your observations are incorrect for Apache 1.3.x in
Solaris 7 and 8, SuSe 8.2 and Red Hat 7.1. In all those
platforms and the indicated server, the position where you
put the lines is not relevant for a stand-alone server (no
virtual hosts, etc.).
I don't have a Windows box around so I cannot test on that
OS.
Previous Comments:
------------------------------------------------------------------------
[2003-09-19 12:55:14] orn dot asgeirsson at decode dot is
Description:
------------
Those three php config lines you tell people to add to their httpd.conf
line won't work unless they are put there in their correct category:
"After you've set up the file layout properly, you're ready to finally
configure Apache to load the PHP4 module. Just add the following lines
to your httpd.conf:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php"
I tried this without success, but when I added the LoadModule line to
the LoadModule part of httpd.conf, AddModule to the AddModule part of
httpd.conf and AddType to the AddType part of httpd.conf everything
worked fine.
apache did not know what to do whith .php files using your guide.
Thanks.
Orn
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25608&edit=1