Re: BEWARE!, Apache 1.3.22 win32 httpd.conf is different ! (was Re: [PHP-WIN] PHP 4.0.6 + Apache 1.3.22 + WinNT 4)

From: Date: Wed, 14 Nov 2001 12:59:16 +0000
Subject: Re: BEWARE!, Apache 1.3.22 win32 httpd.conf is different ! (was Re: [PHP-WIN] PHP 4.0.6 + Apache 1.3.22 + WinNT 4)
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-4944@lists.php.net to get a copy of this message
Ok, I used 1.3.19, and I remember things were as you say. But I need a clarification, do I need the .c files? I don't have .c files! I'm using precompiled dlls. So I commented out all LoadModule *.c lines (and of course the ClearModuleList line) and Apache works fine, and PHP as well. Is there some drawback with this behaviour? Thanks for your reply. ----- Original Message ----- From: "Paco Ortiz" <fjortiz@comunet.es> To: "Ermanno Iannacci" <ermannov@yahoo.it>; <php-install@lists.php.net> Sent: Wednesday, November 14, 2001 1:25 PM Subject: BEWARE!, Apache 1.3.22 win32 httpd.conf is different ! (was Re: [PHP-WIN] PHP 4.0.6 + Apache 1.3.22 + WinNT 4) > Hi, > > Some advice: THE ClearModuleList LINE IS COMMENTED IN PREVIOUS > httpd.conf FILES AND IN 1.3.22 IS UNCOMMENTED after the LoadModule > section. > > hope it helps for Apache Win32 users. > > in apache 1.3.22 the httpd.conf goes like this: > > ... > #LoadModule usertrack_module modules/mod_usertrack.so > #LoadModule unique_id_module modules/mod_unique_id.so > > # you add this now for php4 > LoadModule php4_module c:/php/sapi/php4apache.dll > AddType application/x-httpd-php .php > > good: but beware, some lines later you can see this ! > > # > # Reconstruction of the complete module list from all available modules > # (static and shared ones) to achieve correct module execution order. > # > # The modules listed below, without a corresponding LoadModule directive, > # are static bound into the standard Apache binary distribution for Windows. > # > # Note: The order in which modules are loaded is important. Don't change > # the order below without expert advice. > # > # [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE, UPDATE THIS TOO!] > ClearModuleList > #AddModule mod_vhost_alias.c > AddModule mod_env.c > AddModule mod_log_config.c > ... > > this is the point, there is ClearModuleList, and the mod_php4 disappears !. > > Try to add this to httpd.conf, after ClearModuleList line: > > AddModule mod_php4.c > > so you'd have: > > ... > ClearModuleList > #AddModule mod_vhost_alias.c > AddModule mod_php4.c > AddModule mod_env.c > AddModule mod_log_config.c > ... > > and now it should work. I went nuts because I used 1.3.20 > before and that was uncommented. > > Greetings, > > F.J. Ortiz > > 11/13/01 9:27:31 AM, "Ermanno Iannacci" <ermannov@yahoo.it> escribió: > > >I did this, but do I have to load some .c file? > > > >----- Original Message ----- > >From: "Ross Fleming" <r.fleming@totalise.co.uk> > >To: "Ouster" <ermannov@libero.it>; <php-install@lists.php.net>; > ><php-windows@lists.php.net> > >Sent: Monday, November 12, 2001 11:40 PM > >Subject: RE: [PHP-WIN] PHP 4.0.6 + Apache 1.3.22 + WinNT 4 > > > > > >> LoadModule php4_module c:/php/sapi/php4apache.dll > >> AddType application/x-httpd-php .php > >> > >> not php4. > >> > >> -----Original Message----- > >> From: Ouster [mailto:ermannov@libero.it] > >> Sent: 12 November 2001 21:49 > >> To: php-install@lists.php.net; php-windows@lists.php.net > >> Subject: [PHP-WIN] PHP 4.0.6 + Apache 1.3.22 + WinNT 4 > >> > >> > >> Do I need all the lines that load .c files? > >> Is it not enough to load only .so files? > >> I receive an error, after I wrote LoadModule php4, because there is a > >> ClearModuleList instruction that (I think) removes what I loaded. > >> > >> Thanks > >> > >> > >> -- > >> PHP Windows Mailing List (http://www.php.net/) > >> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > >> For additional commands, e-mail: php-windows-help@lists.php.net > >> To contact the list administrators, e-mail: php-list-admin@lists.php.net > >> > >> > >> > >> > > > > > > > >_________________________________________________________ > >Do You Yahoo!? > >Get your free @yahoo.com address at http://mail.yahoo.com > > > > > >-- > >PHP Windows Mailing List (http://www.php.net/) > >To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > >For additional commands, e-mail: php-windows-help@lists.php.net > >To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

« previous php.install (#4944) next »