LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   apache start error (https://www.linuxquestions.org/questions/linux-software-2/apache-start-error-89104/)

esteeven 09-04-2003 03:15 AM

apache start error
 
I was fiddling around with Apache in SuSE 8.0 and now it won't start. I get this error - failed to start apache :

Starting httpd [ PHP4 ]

Syntax error on line 8 of /etc/httpd/suse_loadmodule.conf:
Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/apache/libphp4.so: cannot open shared object file: No such file or directory
..failed

I tried removing Apache and then reloading it using Yast2 but I get the same error.

Please help and advise.
Thanks.
PS it's my own fault for messing around.

cli_man 09-04-2003 05:52 AM

It cannot find the module to work with php and thats what is giving you the problem, if you do a locate libphp4.so and see where it is on your system you could change the path in the file listed it the error message you have above to reflect where the file actually is, if you do not have that file you could just comment out that line in your config file. However you won't be able to use php untill you get it to work.

unixman 09-04-2003 06:07 AM

check
 
check ur configration file

all pathese

and make sure of the file permissions ! 557

esteeven 09-04-2003 05:02 PM

Well...I tried everything but nothing worked so [*oh no! I can't believe that I still have the Windoze mentality after 2 years with no Windoze at home!!!!!!!*] I reinstalled. Yeuch. I felt ashamed but it was a minimal install and it only took 40 minutes in the end - I'd wasted 2 hours on Apache and libphp4.so Now everything is working and I know where I went wrong last time (I think!) but....
Thanks for the help unixman and cli_man

cli_man 09-04-2003 05:52 PM

Wimp! :-) Ok I won't tell you that I have done that how many times when I was learning linux, not that I am not still learning, I have much more to learn. It is good to start out fresh and do things step by step sometimes so you know better what it is you need to do. I am glad you have it working now.


All times are GMT -5. The time now is 08:31 PM.