LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-03-2006, 10:03 AM   #1
jCash
Member
 
Registered: Sep 2006
Posts: 57

Rep: Reputation: 15
Apache PHP HELP I am stuck


I have suse 10.1. I installed Apache2 using Yast. Also installed php5 with yast and removed it later. Now I got a php5 source and complied and intalled php on the system. When I start apache I am getting following errors:

httpd2: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 27 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib/apache2/mod_php5.so into server: /usr/lib/apache2/mod_php5.so: cannot open shared object file: No such file or directory

Line 113 of httpd.conf has the following:
Include /etc/apache2/sysconfig.d/loadmodule.conf

Line 27 of loadmodule.conf has the following:
LoadModule php5_module /usr/lib/apache2/libphp5.so

Can someone shed some light.
 
Old 10-03-2006, 10:19 AM   #2
jCash
Member
 
Registered: Sep 2006
Posts: 57

Original Poster
Rep: Reputation: 15
I did the following;
/sbin/ldconfig -v

I am getting the following error:

httpd2: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 27 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib/apache2/libphp5.so into server: /usr/lib/apache2/libphp5.so: cannot open shared object file: No such file or directory

So I did this to fix it:


cd /usr/local/apache2/modules/
cp libphp5.so /usr/lib/apache2

Now I am getting the following error:

linux-eova:/usr/lib/apache2 # apache2ctl start
httpd2: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 27 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib/apache2/libphp5.so into server: /usr/lib/apache2/libphp5.so: symbol __divdi3, version libmysqlclient_15 not defined in file libmysqlclient.so.15 with link time reference

Someone HELP!
 
  


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
stuck with php/curl and SSL certificates chr15t0 Programming 2 05-20-2005 07:10 AM
php apache or php cgi - php learner rblampain Linux - Security 3 12-18-2004 12:10 AM
Installing LAMP with MySQL 4.1 - close but stuck with Apache problem David Mann Linux - Software 2 11-10-2004 09:19 PM
slackware, apache and PHP from .tgz - problems with PHP szymon Slackware 2 09-06-2004 05:57 PM
apache..I'm stuck SchoolITguy Linux - Networking 2 02-10-2003 03:52 PM


All times are GMT -5. The time now is 07:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration