mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Fix mysqlnd detection
This commit is contained in:
parent
4cbca588f7
commit
ff58394fd6
1 changed files with 1 additions and 0 deletions
|
@ -155,6 +155,7 @@ class MySQLPDOTest extends PDOTest {
|
||||||
phpinfo();
|
phpinfo();
|
||||||
$tmp = ob_get_contents();
|
$tmp = ob_get_contents();
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
$tmp = stristr($tmp, "PDO Driver for MySQL => enabled");
|
||||||
return (bool)preg_match('/Client API version.*mysqlnd/', $tmp);
|
return (bool)preg_match('/Client API version.*mysqlnd/', $tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue