Mat*_*t P 2 php wordpress bitnami
我在安装了 Avada 主题的 Google Cloud 上使用 Bitnami Wordpress 图像。
我已在 /opt/bitnami/php/php.ini 中将 max_execution_time 的行编辑为 300,但是当我检查 Avada 系统状态时它没有反映。
如何正确更改 max_execution_time?
小智 5
Bitnami 开发人员在这里,
为了更改max_execution_time您的 Bitnami WordPress 图像中的参数,您必须按照以下步骤操作。
在 中将max_execution_time值更改为 300 /opt/bitnami/php/etc/php.ini。请注意,您/opt/bitnami/php/php.ini在消息中指出。
重新启动 Apache 和 php-fpm 服务。
sudo /opt/bitnami/ctlscript.sh restart apache
sudo /opt/bitnami/ctlscript.sh restart php-fpm
完成此操作后,您可以使用phpinfo(). test.php在 /opt/bitnami/apps/wordpress/htdocs 中创建一个文件,内容如下:
<?php
phpinfo();
?>
Run Code Online (Sandbox Code Playgroud)
然后,您可以在http://your-ip/test.php 中检查您的新值
| 归档时间: |
|
| 查看次数: |
1331 次 |
| 最近记录: |