Roundcube Community Forum
Release Support => Pending Issues => Topic started by: chatwizrd on April 16, 2013, 09:18:42 AM
-
I am receiving the following error after installing 0.9.0-release
[16-Apr-2013 09:13:16 America/New_York] PHP Fatal error: Undefined class constant 'MYSQL_ATTR_FOUND_ROWS' in /usr/local/www/apache22/data/roundcubemail-0.9.0/program/lib/Roundcube/rcube_db_mysql.php on line 127
I use apache 2.2 and php 5.3.
Not sure what the deal is.
Thanks
-
I fixed it by running the following command on FreeBSD.
cd /usr/ports/databases/php53-pdo_mysql/ && make install clean
-
I fixed it by running the following command on FreeBSD.
cd /usr/ports/databases/php53-pdo_mysql/ && make install clean
This worked for me too, although I sadly still have another problem with nginx and php-fpm: http://www.roundcubeforum.net/index.php/topic,10744.0.html :(
-
I have the same issue with 'MYSQL_ATTR_FOUND_ROWS'. I'm running PHP 5.3.8. How do I fix this if I'm on a shared hosting server?
-
Ask your host to install the php mysql pdo extension.
-
According to my PHP info page, the mysql pdo driver is installed. This is what I see:
(http://www.isaacdagel.com/img_dump/mysql-pdo.jpg)
-
You also need to have PHP 5.3.x to use the mysql pdo extension with RoundCube.
-
You also need to have PHP 5.3.x to use the mysql pdo extension with RoundCube.
I'm running 5.3.8
-
Then I'm not sure what would causing it, from the screenshot it looks like your running an older mysql server but I don't know if that would have any effect.
-
I am also getting this same error. Using a shared host so can't access the PHP.INI file. Have contacted the host and also checked on my end… 5.3.8 running and PDO active. Any help much appreciated.