LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-24-2007, 07:20 PM   #1
essdeeay
Member
 
Registered: Aug 2004
Location: United Kingdom
Distribution: Debian
Posts: 88

Rep: Reputation: 15
Question Apache won't start


I'm using Gentoo, and for some reason the Apache2 service won't start. I get the following error:
Code:
 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 6 of /etc/apache2/modules.d/70_mod_php.conf:
Cannot load /usr/lib/apache2/modules/libphp4.so into server: libmysqlclient.so.14: cannot open shared object file: No such file or directory
The file /etc/apache2/modules.d/70_mod_php.conf, reads:
Code:
# vim: ft=apache sw=4 ts=4
<IfDefine PHP4>

        # Load the module first
        <IfModule !sapi_apache2.c>
                LoadModule php4_module modules/libphp4.so
        </IfModule>

        # Set it to handle the files
        <IfModule mod_mime.c>
                AddType application/x-httpd-php .php
                AddType application/x-httpd-php .phtml
                AddType application/x-httpd-php .php3
                AddType application/x-httpd-php .php4
                AddType application/x-httpd-php-source .phps
        </IfModule>

        AddDirectoryIndex index.php index.phtml
</IfDefine>
The file libphp4.so is present:
Code:
-rwxr-xr-x 1 root root 4074876 Feb  6  2006 /usr/lib/apache2/modules/libphp4.so
How do I go about solving this?

Many thanks,
Steve
 
Old 01-25-2007, 12:12 AM   #2
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Rep: Reputation: 34
According to your error message apache is looking for libmysqlclient.so.14.

Is it there and in the right place?
 
Old 01-25-2007, 03:35 AM   #3
essdeeay
Member
 
Registered: Aug 2004
Location: United Kingdom
Distribution: Debian
Posts: 88

Original Poster
Rep: Reputation: 15
No it's not, but there IS one called libmysqlclient.so.15 in /usr/lib/mysql/

Is this a mysql problem then?

Thanks,
Steve
 
Old 01-26-2007, 03:28 AM   #4
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Rep: Reputation: 34
Looks so. Try creating a link from libmysqlclient.so to libmysqlclient.so.14. Most of times it works
 
  


Reply



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
Failed to start apache : Apache does not appear to be running : number11 Slackware 9 02-11-2005 09:51 AM
apache will not start Cynthia Blue SUSE / openSUSE 5 11-02-2004 08:43 AM
can't get SSLl working on Apache. Apache won't start bentman78 Linux - Software 1 08-10-2003 06:17 PM
Apache 2.0.45 does not start arkopolo Linux - Software 1 07-08-2003 12:52 PM
apache won't start at all... ctzimmerman Linux - Networking 3 06-01-2001 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration