如何在Linux Web应用程序上的Azure Wordpress上配置max_execution_time [英] how to config max_execution_time at Azure wordpress on linux web app

查看:91
本文介绍了如何在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":

  1. 对于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!

    这篇关于如何在Linux Web应用程序上的Azure Wordpress上配置max_execution_time的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆