LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   httpd won't start - can't load libphp3.so? (https://www.linuxquestions.org/questions/linux-newbie-8/httpd-wont-start-cant-load-libphp3-so-1639/)

johnnyb 04-03-2001 05:25 PM

I'm running RH 7 with Apache 1.3.12 Server. I am having a problem viewing local web pages using Apache. I don't know if this is related or not, but I notice that httpd fails on startup - the error is:

"line 253 of httpd.conf: can't load /etc/httpd/modules/libphp3.so into server: libgd.so.1:cannot open shared object file: No such file or directory."

So httpd is not starting up. However, if I type httpd in a terminal window, it seems to startup with no problem. But if I type "http://localhost", I get an Apache "you don't have permission to access / on this server" error in Netscape. I'm running this as root. I have doublechecked my httpd.conf file. My ServerName setting in httpd.conf is set correctly to my server. Any suggestions? Thanks.

jrmann1999 04-06-2001 12:26 PM

Do you use php at all? Did you compile this apache server from scratch, or is it part of a distro of some kind? If you compiled it, and you don't use php, then don't enable that module during config, otherwise you'll need to compile php and do it's entire setup. Just my suggestion. Also if you are using php, upgrade to 4.x.



All times are GMT -5. The time now is 04:41 AM.