Johnny, 

Welcome to the hell that is php + apache + mysql.  If you upgrade your MySql 
(especially major versions 5.0 => 5.1) you will also need to recompile php 
against the new MySql client libs.  We've had very limited success trying to 
get it to work otherwise.

This is why you are receiving the error through PHP.

Of course, I could be wrong, in which case I know people will probably jump me 
for it.  If this is the case, please do as I would like to be wrong here as it 
would make my compiling life easier every time I update MySql on all of my 
boxes.

Gary

________________________________________
From: Johnny Stork [li...@openenterprise.ca]
Sent: Wednesday, May 06, 2009 1:03 PM
Cc: mysql@lists.mysql.com
Subject: Re: Problems After MySql 5.1.34

Typo, moved from 5.0.67 to 5.1.34

Johnny Stork wrote:
> I recently upgraded an asterisk/trixbox server to mysql 5.1.34 from
> 5.64. Access to the db seesm fine from the shell, phpmyadmin or even
> the Trixbox/FreePBX tool, but trying to apply Trixbox changes, or
> running a "pear update" produces the errors below. I created a couple
> of sl but this did not seem to fix the problem. Below is the error and
> contents of /usr/lib
>
>
>
>
> r...@asterisk:~# pear update
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/lib/php/modules/mysql.so' - /usr/lib/libmysqlclient.so.15:
> version `libmysqlclient_15' not found (required by
> /usr/lib/php/modules/mysql.so) in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/lib/php/modules/mysqli.so' - /usr/lib/libmysqlclient.so.15:
> version `libmysqlclient_15' not found (required by
> /usr/lib/php/modules/mysqli.so) in Unknown on line 0
> Segmentation fault
>
>
>
> r...@asterisk:~# ls -la /usr/lib/libmy*
>
> lrwxrwxrwx 1 root root      26 May  6 09:52
> /usr/lib/libmysqlclient_r.so -> libmysqlclient_r.so.16.0.0
> lrwxrwxrwx 1 root root      28 May  6 11:26
> /usr/lib/libmysqlclient_r.so.15 -> /usr/lib/libmysqlclient_r.so
> lrwxrwxrwx 1 root root      28 May  6 11:18
> /usr/lib/libmysqlclient_r.so.15.0.0 -> /usr/lib/libmysqlclient_r.so
> lrwxrwxrwx 1 root root      26 May  6 09:52
> /usr/lib/libmysqlclient_r.so.16 -> libmysqlclient_r.so.16.0.0
> -rwxr-xr-x 1 root root 2052884 Mar 31 22:48
> /usr/lib/libmysqlclient_r.so.16.0.0
> lrwxrwxrwx 1 root root      24 May  6 09:52 /usr/lib/libmysqlclient.so
> -> libmysqlclient.so.16.0.0
> lrwxrwxrwx 1 root root      26 May  6 11:14
> /usr/lib/libmysqlclient.so.15 -> /usr/lib/libmysqlclient.so
> lrwxrwxrwx 1 root root      24 May  6 09:52
> /usr/lib/libmysqlclient.so.16 -> libmysqlclient.so.16.0.0
> -rwxr-xr-x 1 root root 2044464 Mar 31 22:48
> /usr/lib/libmysqlclient.so.16.0.0
>
>

--
_____________________________________________
Johnny Stork

Open Enterprise Solutions
"Empowering Business With Open Solutions"
http://www.openenterprise.ca

Mountain Hosting
"Secure Hosting Solutions for Business"
http://www.mountainhosting.ca


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=g...@primeexalia.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=arch...@jab.org

Reply via email to