Skip to content

Commit

Permalink
Update http links
Browse files Browse the repository at this point in the history
  • Loading branch information
nxtn committed Apr 16, 2019
1 parent cd58599 commit 40c1945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion articles/app-service/app-service-web-tutorial-php-mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ The following command configures the app settings `DB_HOST`, `DB_DATABASE`, `DB_
az webapp config appsettings set --name <app_name> --resource-group myResourceGroup --settings DB_HOST="<mysql_server_name>.mysql.database.azure.com" DB_DATABASE="sampledb" DB_USERNAME="phpappuser@<mysql_server_name>" DB_PASSWORD="MySQLAzure2017" MYSQL_SSL="true"
```

You can use the PHP [getenv](http://www.php.net/manual/en/function.getenv.php) method to access the settings. the Laravel code uses an [env](https://laravel.com/docs/5.4/helpers#method-env) wrapper over the PHP `getenv`. For example, the MySQL configuration in _config/database.php_ looks like the following code:
You can use the PHP [getenv](https://www.php.net/manual/en/function.getenv.php) method to access the settings. the Laravel code uses an [env](https://laravel.com/docs/5.4/helpers#method-env) wrapper over the PHP `getenv`. For example, the MySQL configuration in _config/database.php_ looks like the following code:

```php
'mysql' => [
Expand Down

0 comments on commit 40c1945

Please sign in to comment.