Update validate to check for mysqlnd (#9043)

Ran into some annoying bugs with the old mysql library driver and BIGINT.
This commit is contained in:
Tony Murray
2018-08-20 17:56:47 -05:00
committed by Neil Lathwood
parent 664e0d7dcf
commit 1e55601409
3 changed files with 13 additions and 9 deletions

View File

@@ -79,7 +79,7 @@ class Php extends BaseValidation
private function checkExtensions(Validator $validator) private function checkExtensions(Validator $validator)
{ {
$required_modules = ['mysqli', 'mbstring', 'pcre', 'curl', 'session', 'xml', 'gd']; $required_modules = ['mysqlnd', 'mbstring', 'pcre', 'curl', 'session', 'xml', 'gd'];
if (Config::get('distributed_poller')) { if (Config::get('distributed_poller')) {
$required_modules[] = 'memcached'; $required_modules[] = 'memcached';

View File

@@ -21,7 +21,8 @@
], ],
"require": { "require": {
"php": ">=5.6.4", "php": ">=5.6.4",
"ext-mysqli": "*", "ext-mysqlnd": "*",
"ext-pdo": "*",
"ext-pcre": "*", "ext-pcre": "*",
"ext-curl": "*", "ext-curl": "*",
"ext-session": "*", "ext-session": "*",

17
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "bba34ce2b3e7e60c03af5707da7a8015", "content-hash": "dda22b18b92903eddb7a35e421dce8bf",
"packages": [ "packages": [
{ {
"name": "amenadiel/jpgraph", "name": "amenadiel/jpgraph",
@@ -2058,20 +2058,22 @@
}, },
{ {
"name": "psy/psysh", "name": "psy/psysh",
"version": "v0.9.6", "version": "v0.9.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/bobthecow/psysh.git", "url": "https://github.com/bobthecow/psysh.git",
"reference": "4a2ce86f199d51b6e2524214dc06835e872f4fce" "reference": "4f5b6c090948773a8bfeea6a0f07ab7d0b24e932"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/4a2ce86f199d51b6e2524214dc06835e872f4fce", "url": "https://api.github.com/repos/bobthecow/psysh/zipball/4f5b6c090948773a8bfeea6a0f07ab7d0b24e932",
"reference": "4a2ce86f199d51b6e2524214dc06835e872f4fce", "reference": "4f5b6c090948773a8bfeea6a0f07ab7d0b24e932",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"dnoegel/php-xdg-base-dir": "0.1", "dnoegel/php-xdg-base-dir": "0.1",
"ext-json": "*",
"ext-tokenizer": "*",
"jakub-onderka/php-console-highlighter": "0.3.*", "jakub-onderka/php-console-highlighter": "0.3.*",
"nikic/php-parser": "~1.3|~2.0|~3.0|~4.0", "nikic/php-parser": "~1.3|~2.0|~3.0|~4.0",
"php": ">=5.4.0", "php": ">=5.4.0",
@@ -2126,7 +2128,7 @@
"interactive", "interactive",
"shell" "shell"
], ],
"time": "2018-06-10T17:57:20+00:00" "time": "2018-08-11T15:54:43+00:00"
}, },
{ {
"name": "ramsey/uuid", "name": "ramsey/uuid",
@@ -5185,7 +5187,8 @@
"prefer-lowest": false, "prefer-lowest": false,
"platform": { "platform": {
"php": ">=5.6.4", "php": ">=5.6.4",
"ext-mysqli": "*", "ext-mysqlnd": "*",
"ext-pdo": "*",
"ext-pcre": "*", "ext-pcre": "*",
"ext-curl": "*", "ext-curl": "*",
"ext-session": "*", "ext-session": "*",