Jump to content

Problem after MySQL upgrade


Recommended Posts

Posted

I upgraded my VPS MySQL from version 5.0 to verison 5.1, and restarted my VPS server.

Can't access site now, and root@vps [/]# service httpd restart errors with:

Syntax error on line 9 of /usr/local/apache/conf/php.conf:
Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/lib/libmysqlclient.so.15: version `libmysqlclient_15' not found (required by /usr/local/apache/modules/libphp5.so)


8 # LibPHP5 configuration

9 LoadModule php5_module modules/libphp5.so

10 AddType application/x-httpd-php .php5 .php4 .php .php3 .php2 .phtml



libphp5.so and libmysqlclient.so.15 are both present, so I am not understanding the "libmysqlclient_15' not found".


Thanks, Sandi

Posted

Hmm, well my first and ongoing experience with an un-managed server has always been interesting.

Apparently after upgrading the MySQL I needed to recompile php in WHM. Doing that now and will report success.

Posted

The PHP recompile in WHM fixed all. Whew!

The upgrade was only to MtSQL v5.1 as I was advised me not to skip verisons, and my thoughts were to upgrade to 5.3. Now I am a bit shy of doing anymore upgrades. While I know I can handle the upgrade now, it takes a long time to do, especially the PHP compile. I am afraid to get my members ire up with more downtime. :laugh:

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...