From ac9708ccf2e90d0e64498816f48c829fa9c2f604 Mon Sep 17 00:00:00 2001 From: Ulf Wendel Date: Tue, 26 Jul 2011 09:30:49 +0000 Subject: [PATCH] Fix mysqlnd detection --- ext/pdo_mysql/tests/mysql_pdo_test.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/pdo_mysql/tests/mysql_pdo_test.inc b/ext/pdo_mysql/tests/mysql_pdo_test.inc index a3ffd5b9cc..0af2e6df65 100644 --- a/ext/pdo_mysql/tests/mysql_pdo_test.inc +++ b/ext/pdo_mysql/tests/mysql_pdo_test.inc @@ -155,6 +155,7 @@ class MySQLPDOTest extends PDOTest { phpinfo(); $tmp = ob_get_contents(); ob_end_clean(); + $tmp = stristr($tmp, "PDO Driver for MySQL => enabled"); return (bool)preg_match('/Client API version.*mysqlnd/', $tmp); } -- 2.40.0