Skip to content

Commit 4e78da5

Browse files
authored
Fix typos and improve grammar in tutorial
1 parent a907eca commit 4e78da5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -608,11 +608,11 @@ The AZD template you use generated the connectivity variables for you already as
608608
- AZURE_REDIS_SSL
609609
</pre>
610610
611-
Settings beginnging with `AZURE_MYSQL_` are connection variables for the MySQL database, and settings beginnging with `AZURE_REDIS_` are for the Redis cache. You need to use them in your code later. For your convenience, the AZD template shows you the direct link to the app's app settings page in the Azure portal.
611+
Settings beginning with `AZURE_MYSQL_` are connection variables for the MySQL database, and settings beginning with `AZURE_REDIS_` are for the Redis cache. You need to use them in your code later. For your convenience, the AZD template shows you the direct link to the app's app settings page in the Azure portal.
612612

613613
1. From the explorer, open *config/database.php*. This is the configuration file for database and Redis cache connections.
614614

615-
1. Find the part that defines the `mysql` connection (lines 46-64) and replace `DB_HOST`, `DB_PORT`, `DB_DATABASE`, `DB_USERNAME`, and `DB_PASSWORD` with the `AZURE_MYSQL_` app settings from the AZD output. Your `mysql` connection should look like hte following code.
615+
1. Find the part that defines the `mysql` connection (lines 46-64) and replace `DB_HOST`, `DB_PORT`, `DB_DATABASE`, `DB_USERNAME`, and `DB_PASSWORD` with the `AZURE_MYSQL_` app settings from the AZD output. Your `mysql` connection should look like the following code.
616616

617617
```php
618618
'mysql' => [
@@ -655,11 +655,11 @@ The AZD template you use generated the connectivity variables for you already as
655655
For more information on Redis cache configuration in Laravel, see [Laravel documentation](https://laravel.com/docs/10.x/redis#configuration).
656656

657657
> [!NOTE]
658-
> Remember that your changes are not deployed yet. You'll deploy them at the end of the next step.
658+
> Remember that your changes aren't deployed yet. You'll deploy them at the end of the next step.
659659

660660
## 4. Configure Laravel settings in web app
661661

662-
1. From the explorer, open *infra/resources.bicep*. This is the Bicp template file that defines the created Azure resources.
662+
1. From the explorer, open *infra/resources.bicep*. This is the Bicep template file that defines the created Azure resources.
663663

664664
1. Find the part that defines the app settings (lines 510-514) and uncomment them. These app settings are:
665665

@@ -764,7 +764,7 @@ azd down
764764
765765
#### I get the error during database migrations `php_network_getaddresses: getaddrinfo for mysqldb failed: No address associated with hostname...`
766766
767-
It indicates that MySQL connection variables are not properly configured. Verify that the `AZURE_MYSQL_` app settings are properly configured in [3. Use Azure connection strings in application code](#3-use-azure-connection-strings-in-application-code).
767+
It indicates that MySQL connection variables aren't properly configured. Verify that the `AZURE_MYSQL_` app settings are properly configured in [3. Use Azure connection strings in application code](#3-use-azure-connection-strings-in-application-code).
768768

769769
#### I get a blank page in the browser.
770770

@@ -780,11 +780,11 @@ This error and similar errors indicate that you didn't run `composer install` be
780780

781781
#### I get a debug page in the browser saying `php_network_getaddresses: getaddrinfo for redishost failed: Name or service not known.`
782782

783-
It indicates that Redis connection variables are not properly configured. Verify that the `AZURE_REDIS_` app settings are properly configured in [3. Use Azure connection strings in application code](#3-use-azure-connection-strings-in-application-code).
783+
It indicates that Redis connection variables aren't properly configured. Verify that the `AZURE_REDIS_` app settings are properly configured in [3. Use Azure connection strings in application code](#3-use-azure-connection-strings-in-application-code).
784784
785785
#### I get a debug page in the browser saying `SQLSTATE[42S02]: Base table or view not found: 1146 Table 'XXXX-XXXXXXXXX-mysql-database.tasks' doesn't exist`
786786
787-
It means you haven't run database migrations, or database migrations were not successful. Follow the steps at [5. Generate database schema](#5-generate-database-schema).
787+
It means you haven't run database migrations, or database migrations weren't successful. Follow the steps at [5. Generate database schema](#5-generate-database-schema).
788788
789789
## Frequently asked questions
790790

0 commit comments

Comments
 (0)