Page 1 of 1

Vbulletin and PHP 5.04 on Plesk 8.0.1

Posted: Thu Jul 06, 2006 6:24 pm
by pedrodj
I feel some problems after upgraded php4 to php 5.0.4. (using yum).

vBulletin 3.6.0 Beta 2 requires that the MySQL functions in PHP be available. Please ask your host to enable this.

I have checked php.ini (and /etc/php.d dir) and mysql extension are loaded (mysql.so) but vbulletin doesn't start.

Any idea ?

Some one can help me to revert safely to lates php4 version for Plesk 8.0.1 ?

Thank you all ;)

Posted: Fri Jul 07, 2006 10:28 am
by jason|xoxide
Restart httpd and then tail the last 100 lines or so of your httpd error log (should be in /var/log/httpd/error_log). If you see the pair of errors below, you've got the same problem I had. See the link at the bottom for the fix.

Code: Select all

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysqli.so' - libmysqlclient.so.14: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - libmysqlclient.so.14: cannot open shared object file: No such file or directory in Unknown on line 0
http://atomicrocketturtle.com/forum/viewtopic.php?t=985

Posted: Tue Jul 11, 2006 9:26 am
by pedrodj
jason|xoxide wrote:Restart httpd and then tail the last 100 lines or so of your httpd error log (should be in /var/log/httpd/error_log). If you see the pair of errors below, you've got the same problem I had. See the link at the bottom for the fix.

Code: Select all

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysqli.so' - libmysqlclient.so.14: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - libmysqlclient.so.14: cannot open shared object file: No such file or directory in Unknown on line 0
http://atomicrocketturtle.com/forum/viewtopic.php?t=985
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4//usr/lib/php4/mysql.so' - /usr/lib/php4//usr/lib/php$
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/imap.so' - /usr/lib/php4/imap.so: cannot open shared$
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/mbstring.so' - /usr/lib/php4/mbstring.so: cannot ope$
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/mysql.so' - /usr/lib/php4/mysql.so: cannot open shar$
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/mysqli.so' - /usr/lib/php4/mysqli.so: cannot open sh$
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/odbc.so' - /usr/lib/php4/odbc.so: cannot open shared$

Posted: Tue Jul 11, 2006 9:38 am
by pedrodj
i have copied all missing .so to the right dir and ALL seem working fine ;)

Posted: Tue Jul 11, 2006 10:21 am
by scott
I really wasnt kidding when I said you need to replace php.ini :P