Originally posted by solitere:
this happens:
/usr/sbin/apachectl graceful: httpd not running, trying to start
Processing config directory: /private/etc/httpd/users
Processing config file: /private/etc/httpd/users/nicke.conf
fopen: No such file or directory
This should not be a problem.
httpd: could not open document config file /etc/httpd/php.conf
this is bad.
"/usr" and "private" library are hidden folders but they are located on the same drive as the 10.2 installation.
I have installed X11 and FINK could they have screwed up the Apache service!?
Fink has caused problems for lots of people
Usually when apache won't start it is 1 of 3 things.
1. it can't find a file.
2. It doesn't have permission to read a file or write log files.
3. there is some bad syntax in a config file
looks like it's looking for /etc/httpd/php.conf
and can't find it. My system has no such file either but I have no trouble.
did you upgrade your php binary?
or maybe fink replaced your http.conf file or added a stray php.ini file.
The php binary should have a built in place to look for it's config file, if you use a php that is not buuild for your system it may look in the wrong place.
Or the http.conf file may specify where to look. If something overwrote this file it may be screwed up.
So..
First thing I'd do is open http.conf and search for the string '/etc/httpd/php.conf'. See if there is a line configuring something to use it. If so, comment it out and try to start apache.
sudo open -e /private/etc/httpd/httpd.conf
Also check the modification dates for http.conf and /usr/libexec/httpd/libphp4.so to see if anything fishy might have happened.
You can get to these files even though they are normally hidden from the finder by typing the full path into the 'go' field: in the finder - go menu - choose 'go to folder'.
type in /usr/libexec/httpd/
hope this helps