You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/app-service/app-service-web-get-started-php.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: 'QuickStart: Create a PHP web app'
3
3
description: Deploy your first PHP Hello World to Azure App Service in minutes. You deploy using Git, which is one of many ways to deploy to App Service.
4
4
ms.assetid: 6feac128-c728-4491-8b79-962da9a40788
5
5
ms.topic: quickstart
6
-
ms.date: 08/24/2018
6
+
ms.date: 05/25/2020
7
7
ms.custom: mvc, cli-validate, seodec18
8
8
---
9
9
@@ -65,14 +65,14 @@ In your terminal window, press **Ctrl+C** to exit the web server.
65
65
66
66
In the Cloud Shell, create a web app in the `myAppServicePlan` App Service plan with the [`az webapp create`](/cli/azure/webapp?view=azure-cli-latest#az-webapp-create) command.
67
67
68
-
In the following example, replace `<app_name>` with a globally unique app name (valid characters are `a-z`, `0-9`, and `-`). The runtime is set to `PHP|7.0`. To see all supported runtimes, run [`az webapp list-runtimes`](/cli/azure/webapp?view=azure-cli-latest#az-webapp-list-runtimes).
68
+
In the following example, replace `<app-name>` with a globally unique app name (valid characters are `a-z`, `0-9`, and `-`). The runtime is set to `PHP|7.0`. To see all supported runtimes, run [`az webapp list-runtimes`](/cli/azure/webapp?view=azure-cli-latest#az-webapp-list-runtimes).
> The stop-parsing symbol `(--%)`, introduced in PowerShell 3.0, directs PowerShell to refrain from interpreting input as PowerShell commands or expressions.
@@ -98,7 +98,7 @@ Local git is configured with url of 'https://<username>@<app_name>.s
98
98
You've created an empty new web app, with git deployment enabled.
99
99
100
100
> [!NOTE]
101
-
> The URL of the Git remote is shown in the `deploymentLocalGitUrl` property, with the format `https://<username>@<app_name>.scm.azurewebsites.net/<app_name>.git`. Save this URL as you need it later.
101
+
> The URL of the Git remote is shown in the `deploymentLocalGitUrl` property, with the format `https://<username>@<app-name>.scm.azurewebsites.net/<app-name>.git`. Save this URL as you need it later.
102
102
>
103
103
104
104
Browse to your newly created web app. Replace _<app name>_ with your unique app name created in the prior step.
@@ -113,7 +113,7 @@ Here is what your new web app should look like:
113
113
114
114
[!INCLUDE [Push to Azure](../../includes/app-service-web-git-push-to-azure.md)]
115
115
116
-
```bash
116
+
<pre>
117
117
Counting objects: 2, done.
118
118
Delta compression using up to 4 threads.
119
119
Compressing objects: 100% (2/2), done.
@@ -134,16 +134,16 @@ remote: Ignoring: .git
134
134
remote: Finished successfully.
135
135
remote: Running post deployment command(s)...
136
136
remote: Deployment successful.
137
-
To https://<app_name>.scm.azurewebsites.net/<app_name>.git
137
+
To https://<app-name>.scm.azurewebsites.net/<app-name>.git
138
138
cc39b1e..25f1805 master -> master
139
-
```
139
+
</pre>
140
140
141
141
## Browse to the app
142
142
143
143
Browse to the deployed application using your web browser.
144
144
145
145
```
146
-
http://<app_name>.azurewebsites.net
146
+
http://<app-name>.azurewebsites.net
147
147
```
148
148
149
149
The PHP sample code is running in an Azure App Service web app.
0 commit comments