简体   繁体   English

我无法在plesk中更改php设置

[英]I can't change php settings in plesk

As shown below, I can't change any of these PHP settings in plex onyx. 如下所示,我无法在plex onyx中更改任何这些PHP设置。

在此输入图像描述

Is there any other way to change these settings, or some workaround? 有没有其他方法可以更改这些设置,或一些解决方法?

You can change these settings using ini_set function for specific file or for complete project by including this change in all files. 您可以使用ini_set函数为特定文件或完整项目更改这些设置,方法是在所有文件中包含此更改。 You can write code as below: 您可以编写如下代码:

ini_set("max_execution_time", 120);

Also, you can make change using .htaccess file as well 此外,您还可以使用.htaccess文件进行更改

php_value max_execution_time 120

Hope it helps you. 希望它能帮到你。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM