安装停止率约为70%
本文为安装停止在70%左右时提供了修补程序。
问题
在使用安装向导进行安装期间,该过程将在大约70%时停止(无论是否包含示例数据)。 屏幕上不显示错误。
原因
此问题的常见原因包括:
max_execution_time
的PHP设置- nginx和Varnish的超时值
解决方案:
根据需要设置以下所有内容。
所有Web服务器和Varnish all-web-servers-and-varnish
-
使用
phpinfo.php
文件找到您的php.ini
。 -
作为具有
root
权限的用户,在文本编辑器中打开php.ini
。 -
找到
max_execution_time
设置。 -
将其值更改为
18000
。 -
将更改保存到
php.ini
并退出文本编辑器。 -
重新启动Apache:
- CentOS:
service httpd restart
- Ubuntu:
service apache2 restart
如果您使用nginx或Varnish,请继续下列各节。
- CentOS:
仅限nginx nginx-only
如果您使用nginx,请使用我们包含的nginx.conf.sample
或在nginx主机配置文件中将超时设置添加到location ~ ^/setup/index.php
部分,如下所示:
location ~ ^/setup/index.php {
.....................
fastcgi_read_timeout 600s;
fastcgi_connect_timeout 600s;
}
重新启动nginx: service nginx restart
仅涂漆 varnish-only
如果您使用Varnish,请编辑default.vcl
并向backend
段添加超时限制值,如下所示:
backend default {
.....................
.first_byte_timeout = 600s;
}
重新启动Varnish。
service varnish restart
recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a