LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-04-2003, 04:15 AM   #1
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Slackware Ubuntu
Posts: 1,046

Rep: Reputation: 42
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.
 
Old 09-04-2003, 06:52 AM   #2
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
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.
 
Old 09-04-2003, 07:07 AM   #3
unixman
LQ Newbie
 
Registered: Aug 2002
Location: /boot
Distribution: SuSE 9.2 PRO
Posts: 21

Rep: Reputation: 15
check

check ur configration file

all pathese

and make sure of the file permissions ! 557
 
Old 09-04-2003, 06:02 PM   #4
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Slackware Ubuntu
Posts: 1,046

Original Poster
Rep: Reputation: 42
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
 
Old 09-04-2003, 06:52 PM   #5
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache wont start. Never seen this error before mpriddy Linux - Software 1 10-12-2004 04:44 PM
Apache start error varunbihani Linux - Software 1 05-06-2004 02:39 PM
apache start error akurtis Linux - Newbie 6 12-03-2003 12:14 AM
apache start error automicro Linux - Newbie 2 08-01-2003 06:09 PM
Apache error on start! DragonClaw Linux - General 5 08-09-2001 12:34 PM


All times are GMT -5. The time now is 02:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration