如何在Linux Web应用程序上的Azure Wordpress上配置max_execution_time
我正在Azure Linux Web应用程序服务上运行wordpress,需要配置php.ini"max_execution_time",但是在应用程序设置中没有任何选项,这是Web应用程序设置页面的屏幕截图.请告知我如何配置php.ini
I'm running wordpress on Azure linux web app services and need to config php.ini " max_execution_time" but in the app setting there isn't any option for it here is the screenshot from web app setting page. please advise on how can i config php.ini
对于您的方案,您无需修改 php.ini
文件.您可以按照以下步骤修改"max_execution_time":
For your scenario, you needn’t to modify the php.ini
file.You can follow below steps to modify " max_execution_time":
-
对于Linux App Service,请遵循添加或修改
.htaccess
文件.在此文件中,使用以下格式添加要修改的PHP配置.Add or modify
.htaccess
file. In this file , add the PHP configuration you want to modify using the format below .示例:
php_value upload_max_filesize 1000M php_value post_max_size 2000M php_value memory_limit 3000M php_value max_execution_time 180 php_value max_input_time 180
请告诉我它是否有帮助!
Please let me know if it helps!