Results 1 to 10 of 10
  1. #1

    Apache Cannot load modules/libphp5.so into server: when I installed php5-gd

    I was trying to install php5-gd but after ran this command:

    yum install php-gd php-tidy

    and tried to restart apache:

    httpd -k restart

    I got the following error:

    httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.modules.d/10-php.conf: Cannot load modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: symbol SSLeay_version, version OPENSSL_1.0.1 not defined in file libcrypto.so.10 with link time reference


    Any of you knows why or how can I fix this error?

  2. #2
    yum update openssl

  3. #3
    Join Date
    Jul 2003
    Location
    Earth
    Posts
    1,692
    Thread moved from Managed Hosting and Services to Hosting Security and Technology forum.
    DirectorioVPS List of VPS plans around the world
    ComunidadHosting The Largest Web Hosting Forum In Spanish!

  4. #4
    Might also need to recompile apache/php so it can take the new modules into account.
    Tara Roberts
    www.whmxtra.com

  5. #5
    Join Date
    May 2013
    Location
    India
    Posts
    748
    Quote Originally Posted by whmxtra View Post
    Might also need to recompile apache/php so it can take the new modules into account.
    It doesn't looks like an install from source. Should be an install from rpm/deb.

  6. #6
    Yes, he used yum so it'll be an rpm. But if he has cpanel installed recompiling apache is usually required to kick new modules into gear as php.ini and apache itself don't always get configured properly automatically.

    A quick recompile usually can resolve issues like this (although as someone else posted, updating openssl may solve the issue).
    Tara Roberts
    www.whmxtra.com

  7. #7
    Join Date
    May 2013
    Location
    India
    Posts
    748
    I am not sure whether cPanel is involved. Because all the path mentioned in his error message points to an rpm install rather than of EA3 install. AFAIK cPanel doesn't load anything from /etc/httpd/.

  8. #8
    He didn't say if a control panel is involved, my post was more of an "if it is" type thing. I know more than enough about how cPanel works, I also know it can be touchy if you install stuff via RPM rather than through EA.

    So if he has it installed recompiling may solve it. If not then it's back to troubleshooting if the openssl update doesn't help.

    But it's a moot point, just did some googling

    yum update openssl

    has solved the exact same issue for pretty much everyone I found that had that problem.
    Tara Roberts
    www.whmxtra.com

  9. #9
    Join Date
    May 2013
    Location
    India
    Posts
    748
    Quote Originally Posted by whmxtra View Post
    I know more than enough about how cPanel works, I also know it can be touchy if you install stuff via RPM rather than through EA.
    It is pretty clear from your signature Anyway I am sorry if I misread your post and do understand what you were trying to mention. Yes, update openssl package fixed most such issues I could read after a quick googling as well.

  10. #10
    Yep, I should've taken 30 seconds to google it before I made my first post anyways hehe. Busy night here though lol.
    Tara Roberts
    www.whmxtra.com

Similar Threads

  1. Apache 2.055: Cannot load /etc/httpd/modules/mod_cgi.so into server
    By SupaDucta in forum Hosting Security and Technology
    Replies: 5
    Last Post: 11-11-2005, 12:55 AM
  2. FreeBSD PHP5 ports error - libphp5.la is not a valid libtool archive
    By WebHostingNeeds in forum Hosting Security and Technology
    Replies: 12
    Last Post: 08-17-2005, 01:56 PM
  3. How to find installed modules in Apache?
    By linuxlinux in forum Hosting Security and Technology
    Replies: 1
    Last Post: 11-24-2004, 08:44 AM
  4. Replies: 6
    Last Post: 12-08-2002, 01:26 AM
  5. Modules Installed on Server?
    By MorganW in forum Hosting Security and Technology
    Replies: 7
    Last Post: 08-29-2001, 09:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •