According to your error capture, you attempted to modify the php configuration file in Azure runtime. As the customers, we do not have the permission to modify the files out of the home
folder in Azure runtime.
If you want to change the PHP configurations on Azure Web App, you can create a configuration file like .user.ini
in the root directory of your application, and set the configurations as same as in traditional php.ini
. Please refer to https://learn.microsoft.com/en-us/azure/app-service-web/web-sites-php-configure#how-to-change-the-built-in-php-configurations for more details.
Furthermore, according your image, it seems that you attempted to enlarge the execution time, in Azure Web Apps, there is an almost 230 seconds timeout restriction. you can refer to Azure ASP .net WebApp The request timed out .
If you require a long execution time in progress, you can leverage Web Jobs.