mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
MFH: fix mysqlnd detection
This commit is contained in:
parent
c3dab8f191
commit
c8361e7cfe
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ class MySQLPDOTest extends PDOTest {
|
|||
phpinfo();
|
||||
$tmp = ob_get_contents();
|
||||
ob_end_clean();
|
||||
return (true == stristr($tmp, 'PDO Driver for MySQL, mysql native driver version'));
|
||||
return (bool)preg_match('/Client API version.*mysqlnd/', $tmp);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue