Skip to content

Commit 65fd45f

Browse files
committed
updates
1 parent 3c22f12 commit 65fd45f

File tree

1 file changed

+2
-50
lines changed

1 file changed

+2
-50
lines changed

articles/app-service/quickstart-php.md

Lines changed: 2 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ zone_pivot_groups: app-service-platform-windows-linux
1212
# Create a PHP web app in Azure App Service
1313

1414
::: zone pivot="platform-windows"
15-
[!INCLUDE [quickstart-php-windows-](./includes/quickstart-php/quickstart-php-windows.pivot.md)]
15+
[!INCLUDE [quickstart-php-windows-](/includes/quickstart-php/quickstart-php-windows.pivot.md)]
1616
::: zone-end
1717

1818
::: zone pivot="platform-linux"
@@ -79,7 +79,7 @@ az webapp up --sku F1 --name <app-name>
7979
- Replace `<app_name>` with a name that's unique across all of Azure (*valid characters are `a-z`, `0-9`, and `-`*). A good pattern is to use a combination of your company name and an app identifier.
8080
- The `--sku F1` argument creates the web app on the Free pricing tier, which incurs a no cost.
8181
- You can optionally include the argument `--location <location-name>` where `<location_name>` is an available Azure region. You can retrieve a list of allowable regions for your Azure account by running the [`az account list-locations`](/cli/azure/appservice#az_appservice_list_locations) command.
82-
- The command creates a Linux app for Node.js by default. To create a Windows app instead, use the `--os-type` argument.
82+
- The command creates a Linux app for Node.js by default. To create a Windows app instead, use the `--os-type` argument.
8383
- If you see the error, "Could not auto-detect the runtime stack of your app," make sure you're running the command in the *myExpressApp* directory (See [Troubleshooting auto-detect issues with az webapp up](https://github.com/Azure/app-service-linux-docs/blob/master/AzWebAppUP/runtime_detection.md)).
8484

8585
The command may take a few minutes to complete. While running, it provides messages about creating the resource group, the App Service plan, and the app resource, configuring logging, and doing ZIP deployment. It then gives the message, "You can launch the app at http://&lt;app-name&gt;.azurewebsites.net", which is the app's URL on Azure.
@@ -112,54 +112,6 @@ You can launch the app at http://&lt;app-name>.azurewebsites.net
112112

113113
[!include [az webapp up command note](../../includes/app-service-web-az-webapp-up-note.md)]
114114

115-
=======
116-
[!INCLUDE [cloud-shell-try-it.md](../../includes/cloud-shell-try-it.md)]
117-
118-
[!INCLUDE [Configure deployment user](../../includes/configure-deployment-user.md)]
119-
120-
::: zone pivot="platform-windows"
121-
[!INCLUDE [Create resource group](../../includes/app-service-web-create-resource-group.md)]
122-
::: zone-end
123-
124-
::: zone pivot="platform-linux"
125-
[!INCLUDE [Create resource group](../../includes/app-service-web-create-resource-group-linux.md)]
126-
::: zone-end
127-
128-
[!INCLUDE [Create app service plan](../../includes/app-service-web-create-app-service-plan-linux.md)]
129-
130-
## Create a web app
131-
132-
1. In the Cloud Shell, create a web app in the `myAppServicePlan` App Service plan with the [`az webapp create`](/cli/azure/webapp#az-webapp-create) command.
133-
134-
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.4`. To see all supported runtimes, run [`az webapp list-runtimes`](/cli/azure/webapp#az-webapp-list-runtimes).
135-
136-
```azurecli-interactive
137-
az webapp create --resource-group myResourceGroup --plan myAppServicePlan --name <app-name> --runtime 'PHP:8.0' --deployment-local-git
138-
```
139-
140-
When the web app has been created, the Azure CLI shows output similar to the following example:
141-
142-
<pre>
143-
Local git is configured with url of 'https://&lt;username&gt;@&lt;app-name&gt;.scm.azurewebsites.net/&lt;app-name&gt;.git'
144-
{
145-
"availabilityState": "Normal",
146-
"clientAffinityEnabled": true,
147-
"clientCertEnabled": false,
148-
"cloningInfo": null,
149-
"containerSize": 0,
150-
"dailyMemoryTimeQuota": 0,
151-
"defaultHostName": "&lt;app-name&gt;.azurewebsites.net",
152-
"enabled": true,
153-
&lt; JSON data removed for brevity. &gt;
154-
}
155-
</pre>
156-
157-
You've created an empty new web app, with git deployment enabled.
158-
159-
> [!NOTE]
160-
> 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.
161-
>
162-
163115

164116
1. Browse to your newly created web app. Replace _&lt;app-name>_ with your unique app name created in the prior step.
165117

0 commit comments

Comments
 (0)