Skip to content

Commit 7be66d3

Browse files
authored
Merge pull request #97057 from cephalin/laravel
fix build error for pdo_mysql
2 parents d81f76d + 197788f commit 7be66d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

articles/app-service/app-service-web-tutorial-php-mysql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.workload: web
1313
ms.tgt_pltfrm: na
1414
ms.devlang: php
1515
ms.topic: tutorial
16-
ms.date: 11/15/2018
16+
ms.date: 11/25/2019
1717
ms.author: cephalin
1818
ms.custom: mvc
1919
ms.custom: seodec18

articles/app-service/containers/tutorial-php-mysql-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: app-service-web
88
ms.workload: web
99
ms.devlang: php
1010
ms.topic: tutorial
11-
ms.date: 03/27/2019
11+
ms.date: 11/25/2019
1212
ms.author: cephalin
1313
ms.custom: mvc
1414
ms.custom: seodec18
@@ -265,7 +265,7 @@ Open _config/database.php_ and add the _sslmode_ and _options_ parameters to `co
265265
'mysql' => [
266266
...
267267
'sslmode' => env('DB_SSLMODE', 'prefer'),
268-
'options' => (env('MYSQL_SSL')) ? [
268+
'options' => (env('MYSQL_SSL') && extension_loaded('pdo_mysql')) ? [
269269
PDO::MYSQL_ATTR_SSL_KEY => '/ssl/BaltimoreCyberTrustRoot.crt.pem',
270270
] : []
271271
],

0 commit comments

Comments
 (0)