[NTLUG:Discuss] Apache 2 and PHP 4 problem

Bug Hunter bughuntr at one.ctelcom.net
Thu Jan 2 16:29:37 CST 2003


  another trick is to kill httpd

/etc/init.d/httpd stop

 then run httpd as root from a terminal window:

httpd

  it will print error messages out that may or may not be making it to 
/var/log/httpd/error_log

or
/var/log/messages

  various things won't work after doing this, so you need to do:

killall httpd
/etc/init.d/httpd start

 afterwords.  Some systems use apache rather than httpd for the daemon:

/etc/init.d/apache start

bug


On Thu, 2 Jan 2003, joseph beasley wrote:

> I spent about 2 weeks trying to figure this one out. 
> If you run httpd in debug mode, (httpd -X) you will
> find that the php module is not loading.  
> 
> the module is for apache 1.3.x.  You will need to....
> 
> a). recompile php from source and select the 2.0
> apache module.
> 
> b.  rebuild the php source rpm and select the 2.0
> apache module.
> 
> 
> --- "Alton R. Pouncey, II" <alton at trainers-r-us.com>
> wrote:
> > Hi all,
> > 
> > I am having an issue trying to get PHP 4.3.0 to work
> > with Apache
> > 2.0.43.  Here are the particulars of the system:
> > 
> > RH 7.2 (2.4.7-10 kernel)
> > Apache 2.0.43
> > Perl 5.8.0
> > PHP 4.3.0
> > 





More information about the Discuss mailing list