Hi Gerald,
> Since yum update, php5 and mysql5 upgrade - not sure which may have caused
> get this error in cl
>
> PHP Warning: PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/extensions/mysql.so' -
> /usr/local/lib/php/extensions/mysql.so: cannot open shared object file: No
> such file or directory in Unknown on line 0
> PHP 5.2.5 (cli) (built: Nov 15 2007 19:17:35)
In order for PHP to be able to communicate with MySQL, PHP has to be compiled
against the matching MySQL version. PHP5 usually has a dynamic mysql.so
library, which usually is loaded at startup based on the PHP configuration as
defined in php.ini
Your custom PHP tries to load /usr/local/lib/php/extensions/mysql.so for this,
but can't find it ("No such file or directory"). This may be because your
custom mysql.so is missing, or the mysql.so requires additional libraries
which are not present.
Check if /usr/local/lib/php/extensions/mysql.so is present and if it is not,
you may want to locate it or reinstall your custom PHP5.
If /usr/local/lib/php/extensions/mysql.so is present, run ...
ldd /usr/local/lib/php/extensions/mysql.so
... to get an idea what libraries mysql.so itself is looking for. That may
give some pointers about which libraries may be missing.
--
With best regards,
Michael Stauber