[BlueOnyx:21271] Re: Solarspeed PHP 5.6 on 5208R

Michael Stauber mstauber at blueonyx.it
Thu Aug 17 11:52:16 -05 2017


Hi Chris,

> We recently updated a 5208R box with Solarspeed PHP 5.6.30.   Since then
> we've had some issues with loading Roundcube webmail.
> 
> The only thing that shows up in the httpd/error_log is:
> 
> [Wed Aug 16 17:22:19 2017] [error] [client 208.77.151.18] PHP Warning:
> PHP Startup: Unable to load dynamic library
> '/home/solarspeed/php/lib/php/20121212/pdo_mysql.so' -
> /home/solarspeed/php/lib/php/20121212/pdo_mysql.so: cannot open shared
> object file: No such file or directory in Unknown on line 0
> 
> And in the Roundcube log under webmail/logs/errors:
> 
> [16-Aug-2017 17:22:19 US/Central] PHP Fatal error:  Undefined class
> constant 'MYSQL_ATTR_FOUND_ROWS' in
> /home/.sites/112/site7/web/webmail/program/lib/Roundcube/rcube_db_mysql.php
> on line 151

I just tested it by installing PHP-5.6.30 off NewLinQ onto a 5208R and
it works just fine without these errors you reported.

The problem in your case is that /home/solarspeed/php/etc/php.d contains
config files that don't belong there anymore and may have been retained
from an older PHP version.

Suggested course of action: Uninstall PHP-5.6.30 via the GUI, check that
the directory /home/solarspeed/php is gone (if not: delete it manually)
and then reinstall the package.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list