LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 09: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, 09: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:35 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