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 07-07-2008, 05:22 PM   #1
philwynk
Member
 
Registered: Sep 2007
Posts: 84

Rep: Reputation: 15
Fedora 9 broke my Apache setup -- libphp5.so won't load


Hi, all,

I just upgraded from Fedora core 8 to Fedora Core 9, and my Apache server won't start.

Here's what happens:

Quote:
[root@localhost ~]# apachectl start
httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/php.conf: Cannot load /etc/httpd/modules/libphp5.so into server: libssl.so.6: cannot open shared object file: No such file or directory
The configuration file /etc/httpd/conf.d/php.conf code in question looks like this:

Quote:
#

LoadModule php5_module modules/libphp5.so

#
Line 209 of the file /etc/httpd/conf/httpd.conf looks like this:

Quote:
# Load config files from the config directory "/etc/httpd/conf.d".
#
Include conf.d/*.conf

The module libphp5.so is there in the modules directory, just like it's supposed to be. Any idea why it won't load?

This is urgent. The machine is here to run Apache, and basically for no other reason. I'm dead in the freakin' water until I figure this out. Thanks.

Phil W.

Last edited by philwynk; 07-07-2008 at 05:24 PM.
 
Old 07-07-2008, 05:50 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Does libphp5.so have the same permissions as the other modules in that directory?

Also, what is the difference in the version number of Apache between FC8 and FC9? You may need to re-compile the PHP module.
 
Old 07-07-2008, 05:57 PM   #3
philwynk
Member
 
Registered: Sep 2007
Posts: 84

Original Poster
Rep: Reputation: 15
Quote:
Does libphp5.so have the same permissions as the other modules in that directory?
Yep. First thing I checked.


Quote:
Also, what is the difference in the version number of Apache between FC8 and FC9?
I don't know.

Quote:
You may need to re-compile the PHP module.
Yeah, I just tried to use yum to update php, and discovered that yum doesn't work either. Short version seems to be that the Fedora 9 "preupgrade" path is a POS, and cannot be trusted. I'm extremely disappointed in those fellows, usually their stuff is pretty solid. Now I have to reinstall Fedora core 8 from the ground up, and restore all my stuff. I'm not thrilled, believe me.
 
Old 07-07-2008, 06:07 PM   #4
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Looks like you are missing libssl.so

Try a "yum" install that...either that or just comment out that module load statement (if it isn't necessary).
 
Old 07-07-2008, 07:36 PM   #5
philwynk
Member
 
Registered: Sep 2007
Posts: 84

Original Poster
Rep: Reputation: 15
Ok... the yum install problem is fixed, that was a known weakness in the Fedora 9 install. Beware, newbies, if you upgrade to Fedora 9 you have a manual rpm update of python in your future.

However, Apache is still broken.

I've noticed that the Fedora 9 version that loaded is the i686 version. My Fedora Core 8 was the i386 version, so all the modules I have installed are the i386 versions as well. Could this be the source of my problem? ANy idea how to resolve?
 
Old 09-25-2008, 06:38 AM   #6
piesnotpetrol
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
Hi, I've just fixed this problem on my box....

I did a:
yum list php\* | grep installed
and discovered that php-common and the other php packages were not the fc9 version

so I ran the following to fix it:
yum remove php
yum remove php-common
yum install php


HTH
 
  


Reply

Tags
apache, fedora, libphp5so, upgrade



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
php can't load libphp5.so TrevorH Linux - Software 5 03-29-2012 04:15 AM
Error in PHP 5.0.5 and Apache 1.3.34 - Cannot load libphp5.so jun_tuko Linux - Software 7 01-05-2008 11:12 PM
Apache problems with libphp5.so Jubalint Linux - Software 1 04-22-2007 11:54 PM
Apache Server error, libphp5.so crillegs Linux - Software 3 05-23-2006 01:56 PM
Cannot load /usr/lib/apache2/libphp5.so into server Kristijan Slackware 1 10-08-2005 12:28 AM

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

All times are GMT -5. The time now is 10:26 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
Open Source Consulting | Domain Registration