John I have tried it with and without the Ifdefine and IfModules statements neither seem to make a difference
Simon -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of John Nichel Sent: 11 December 2002 15:25 To: [EMAIL PROTECTED] Subject: Re: RH7.3 Apache and PHP Try removing the <IfModule mod_php4.c> and the </IfModule> wrapper. It should work the way you have it, but this is one sure fire way of testing it. Simon Tompkins wrote: > The Following lines are in the httpd.conf > > <IfDefine HAVE_PHP4> > LoadModule php4_module modules/libphp4.so > </IfDefine> > > <IfDefine HAVE_PHP4> > AddModule mod_php4.c > </IfDefine> > > <IfModule mod_php4.c> > AddType application/x-httpd-php .php .php4 .php3 .phtml > AddType application/x-httpd-php-source .phps > </IfModule> > > And httpd is started with -DHAVE_PHP4 > > Cheers > > Simon > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > On Behalf Of John Nichel > Sent: 11 December 2002 15:05 > To: [EMAIL PROTECTED] > Subject: Re: RH7.3 Apache and PHP > > > Make sure you have this line in you httpd.conf file... > > AddType application/x-httpd-php .php > > Simon Tompkins wrote: > >>I am having problems with RH73 running Apache and PHP. After >>upgrading >>from RH7.1, I installed Apache and PHP rpm's from the RH7.3 CD's and >>configured appropriately. Standard HTML pages are working correctly > > but > >>PHP pages don't work at all, the browse prompts to save the file. >> >>I also have tried building/install from source for both Apache2 and >>PHP >>4.2.3, also installing a newer version of PHP 4.2.2 from rpm, still no > > PHP. > >>Apache Server-Status reports that PHP Support is configured Server >>Version: Apache/1.3.23 (Unix) (Red-Hat/Linux) DAV/1.0.3 PHP/4.2.2 >>mod_perl/1.26 Server Built: Apr 9 2002 14:56:43 >> >>Ideas Anyone? >> >><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< >>Simon Tompkins >>Senior Computing Officer >>Infrastructure Services >>University of Lincoln >> >>e: [EMAIL PROTECTED] >> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >> > > -- By-Tor.com It's all about the Rush http://www.by-tor.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list