@Ytowait Pvt Ltd Thank you for reaching out to Microsoft Q&A. Apologize for the any inconvenience caused on this.
As mentioned here in this GIT hub article, PHP 5.6 is end of life on Azure app service and app service currently supports PHP 7.4 or PHP 8.0 only. I would recommend you upgrade the PHP versions of your app to supported version on web app accordingly.
Adding to the @Dillon Silzer suggestion, alternatively using Azure CLI cmdlet you can change run time PHP versions of the existing web app.
az webapp config set --resource-group <ResourceGroupName> --name <WebAppName> --linux-fx-version "PHP|7.4"
If you are creating the webapp from the portal, you can select lower versions(available is PHP 7.4) of the supported runtime using the dropdown as shown below.
Feel Free to reach back to me if you have any questions on this.