Page 1 of 1

PHP error: unable to load dynamic library

Posted: Fri Apr 11, 2008 5:44 pm
by bdconnolly
Sorry gang, got another recursive issue associated with PHP. Error log is producing this:

Code: Select all

[11-Apr-2008 10:22:14] PHP Warning:  Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/php5_cybersource.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429/php5_cybersource.so: cannot open shared object file: No such file or directory in Unknown on line 0
[11-Apr-2008 10:22:14] PHP Warning:  Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
[11-Apr-2008 10:22:14] PHP Warning:  Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/pdo_sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
[11-Apr-2008 10:22:14] PHP Warning:  Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
[11-Apr-2008 10:22:14] PHP Warning:  Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
Thoughts? PHP setup issue?

Posted: Sat Apr 12, 2008 3:25 am
by bdconnolly
PHP issue. resolution: add this to .htaccess:

AddHandler application/x-httpd-php5 .php .html .htm

Posted: Sat Apr 12, 2008 5:17 am
by judebert
Glad you figured it out! Thanks for supplying the solution. I'm sure it will be useful for others.