ID: 25608 Updated by: [EMAIL PROTECTED] Reported By: orn dot asgeirsson at decode dot is -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: windows xp PHP Version: 4.3.3 New Comment:
apache 1.3.28, php4.3.3 Can't test on WinXP, but the following is true for win2k: at the end of httpd.conf: LoadModule php4_module d:/php/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php This works regardless of the AddModule directive is used or not. So I can confirm Jesus findigs true also for Windows. I can't imagine there is a really important difference between win2k and xp running apache ;-) By the way: please read http://www.php.net/manual/en/install.apache.php#install.apache.windows carefully, these docs refer to the right sections, so where did you get your information? So this is bogus. Please ask support questions on the mailing lists. Regards Friedhelm Betz Previous Comments: ------------------------------------------------------------------------ [2003-10-06 05:57:41] benoit dot vianin at sinabe dot ch On Windows 2K Sp4 Apache 1.3.28 PHP 4.3.3 You need to put the path for LoadModule like this LoadModule php4_module "c:/php/sapi/php4apache.dll" And you must move the AddType line in the right section of the httpd.conf But this is only for the windows users. ------------------------------------------------------------------------ [2003-09-19 18:53:40] orn dot asgeirsson at decode dot is Server used: Apache (apache_1.3.28-win32-x86-no_src.msi) Windows XP workstation, fully patched. ------------------------------------------------------------------------ [2003-09-19 18:04:51] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [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