This was myy first time installing Apache
manually on Linux. I had the same issue and did what was said. To be specific, add the following (outside of any directive) to "
httpd.conf":
Code:
User nobody
Group nobody
It solved this same problem for me. (You can also set the User and Group to daemon, which is easier because you only have to "touch /usr/local/apache2/logs/error_log" and "chmod 755 error_log" to get rid of errors regarding logs.)
In addition, sometimes I noticed restarting Linux got rid of the "unable to bind to port" errors.
Also (nothing to do with the above), I was surprised that
with the Slackware package, the "
httpd.conf" included with the Linux download was
empty, and that there was
no "
httpd-default.conf" (this does not apply to the source from Apache itself). I found out that they stuck it in a different directory for Linux: you can find "
httpd-default.conf" in "
/etc/httpd/extra". So just do this:
Code:
rm /etc/httpd/httpd.conf
cp /etc/httpd/extra/httpd-default.conf /etc/httpd/httpd.conf