Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache wont start with -D PHP4

Status
Not open for further replies.

brad182

Technical User
Sep 21, 2003
11
US
Hi, I am having trouble getting Apache up and running on my gentoo box with php support.
When i execute '/etc/init.d/apache start' it seems to start fine however a 'ps -ax' reveals that its not runnning at all or not listening on port 80, However if I remove -D PHP4 from the '/etc/conf.d/apache' conf file, then it starts fine and i can see it from the browser.
Im running apache-1.3.29 with php4.3.4.
I have been emergeing and ebuilding all weekend to no avail. Im thinking it might be a php module problem but im not sure. Any ideas???


 
Did you check the error log? It will usually show startup errors.

 
Yep, checked the Error logs and nothing suggests that there is any problem.


 
What if you try to invoke apache directly?

Your init scripts are masking the errors. If you use apachectl you'll get them.
 
[Mon Jan 12 20:58:45 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Jan 12 21:04:36 2004] [notice] caught SIGTERM, shutting down

I think this gets written to /etc/apache/logs/error.log




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top