Fedora 9 broke my Apache setup -- libphp5.so won't load
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.