Can't start Apache 1.3.9 with PHP3.0.16 on RedHat 6.1

Can't start Apache 1.3.9 with PHP3.0.16 on RedHat 6.1

Post by Peter Edd » Sun, 23 Apr 2000 04:00:00



This is driving me crazy.  I've built PHP 3.0.16 from source and I'm
trying to get it to work with Apache 1.3.9 (as delivered in the
apache-1.3.9-8.rpm).  I've followed the instructions in the PHP
documentation, including the must-read RedHat instructions (which don't
seem to apply in my case since I'm not using RPMs for PHP) and it simply
does not work (apache won't start.)

I've built PHP as a DSO and I have:

   LoadModule php3_module      libexec/libphp3.so
   AddModule mod_php3.c

in my /etc/http/http.conf file.

When I try to start apache I get, "httpd: httpd startup succeeded" on
the console but it does not in fact start (there is no httpd process.)
If I remove:

   AddModule mod_php3.c

Then I at least get, "[error] Cannot remove module mod_php3.c: not found
in module list" and Apache won't start. If I remove, "LoadModule
php3_module..." then apache starts

I did have PHP4, beta1 installed but have since removed it from any
configuration file and from the apache modules directory.  PHP4
installed and ran with no problem.  I thought perhaps that something
from PHP4 was still lying around causing my problem, but I haven't been
able to find anyting.

httpd -l reports:

Compiled-in modules:
  http_core.c
  mod_so.c

Someone please beat me with a cluestick.

 
 
 

1. Apache 1.3.9 + PHP3.0.6 compiles but doesn't start

RH Linux on Dell pentium; latest apache, ssl, php releases.


Linux 2.0.36


Server version: Apache/1.3.9 (Unix)
Server built:   Aug 28 1999 11:28:51


Syntax error on line 30 of [snip path]./conf/httpd.conf:
Invalid command 'LoadModule', perhaps mis-spelled or defined by a module
not included in the server configuration

I checked my apache/src/Configuration and all the necessary modules seem
to be there; here's more evidence:


Compiled-in modules:
  http_core.c
  mod_env.c
  mod_log_config.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_asis.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_access.c
  mod_auth.c
  mod_setenvif.c
  mod_ssl.c
  mod_php3.c

Can anyone help me understand why my httpd binary thinks the default
httpd.conf calls to loadmodule are "mis-spelled"? I have a (non-SSL)
build of
httpd_1.3.3 that reads this config file (the one released with 1.3.9,
that is) just fine.

Many thanks,

-- kov

2. Newbie using Perl on Mac OSX

3. Error starting Apache on Redhat 6.1

4. Socket: recvfrom

5. Redhat 6.1 won't start (even once)

6. FPA tricks?

7. Can't start Apache 1.3.9 with PHP3 on Linux Suse 6.2

8. PCI Fast Ethernet DEC 21143 Based Adapter

9. Can't start Apache on RH 6.1

10. Fresh Apache 1.3.12 on RedHat 6.1 won't launch at startup

11. httpd won't start - RedHat 6.2, Apache 1.3.12, PHP 3.0.16, MySQL 3.22.32

12. 'Pro Audio Spectrum 16': Can't get 16 bit?