PDOException: SQLSTATE[HY000]
General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll().
Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the
PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute. (uncaught exception) at /var/www/vhosts/myapp/client_php/src/Service/ClientService.php line 51 {"exception":"[object]
PDOException(code: HY000): SQLSTATE[HY000]
General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll().
Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute. at
/var/www/vhosts/myapp/client_php/src/Service/ClientService.php:51)"} []
# yum list installed | grep "remi"
gd-last.x86_64 2.2.3-1.el7.remi @remi
libzip-last.x86_64 1.1.3-1.el7.remi @remi
memcached.x86_64 1.4.29-1.el7.remi @remi
php.x86_64 5.6.24-1.el7.remi @remi-php56
php-bcmath.x86_64 5.6.24-1.el7.remi @remi-php56
php-cli.x86_64 5.6.24-1.el7.remi @remi-php56
php-common.x86_64 5.6.24-1.el7.remi @remi-php56
php-devel.x86_64 5.6.24-1.el7.remi @remi-php56
php-gd.x86_64 5.6.24-1.el7.remi @remi-php56
php-gmp.x86_64 5.6.24-1.el7.remi @remi-php56
php-intl.x86_64 5.6.24-1.el7.remi @remi-php56
php-mbstring.x86_64 5.6.24-1.el7.remi @remi-php56
php-mysqlnd.x86_64 5.6.24-1.el7.remi @remi-php56
php-opcache.x86_64 5.6.24-1.el7.remi @remi-php56
php-pdo.x86_64 5.6.24-1.el7.remi @remi-php56
php-pear.noarch 1:1.10.1-5.el7.remi @remi
php-pecl-apcu.x86_64 4.0.11-2.el7.remi.5.6 @remi-php56
php-pecl-jsonc.x86_64 1.3.10-1.el7.remi.5.6 @remi-php56
php-pecl-jsonc-devel.x86_64 1.3.10-1.el7.remi.5.6 @remi-php56
php-pecl-memcache.x86_64 3.0.8-4.el7.remi.5.6 @remi-php56
php-pecl-zip.x86_64 1.13.4-1.el7.remi.5.6 @remi-php56
php-php-gettext.noarch 1.0.11-12.el7.remi @remi
php-phpseclib.noarch 2.0.2-1.el7.remi @remi
php-process.x86_64 5.6.24-1.el7.remi @remi-php56
php-recode.x86_64 5.6.24-1.el7.remi @remi-php56
php-symfony-class-loader.noarch 2.8.8-1.el7.remi @remi
php-symfony-common.noarch 2.8.8-1.el7.remi @remi
php-tcpdf.noarch 6.2.12-1.el7.remi @remi
php-tcpdf-dejavu-sans-fonts.noarch 6.2.12-1.el7.remi @remi
php-tidy.x86_64 5.6.24-1.el7.remi @remi-php56
php-xml.x86_64 5.6.24-1.el7.remi @remi-php56
remi-release.noarch 7.2-1.el7.remi @remi
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.