Maximum execution time of 30 seconds exceeded (which lead to: SQLSTATE[3D000]

2020-05-21 10:58:14

解决办法,调整php.ini 的max_execution_time = 300值

I tried to install matomo (first time) and get after click "Next"-Button in welcome screen for step 2 (system check) this error:

Matomo encoutered an error: Maximum execution time of 30 seconds exceeded (which lead to: SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected)

What is here to do? Set a higher execution time lead only to this

Fatal error: Maximum execution time of 90 seconds exceeded in \matomo-3.5.1\core\FileIntegrity.php on line 324
https://github.com/matomo-org/matomo/blob/3.x-dev/core/FileIntegrity.php#L324

At all I read many times take a look in config.ini, but this file not exists in root or config-folder.

System Windows 10.

Solution: Make maximum execution time of 120 or more.


  • 2019-12-01 08:00:16

    PHP中的HTTP_HOST和SERVER_NAME有什么区别

    多域名指向同一个php服务器,用nginx做代理,获取SERVER_NAME都是第一个域名,这就尴尬了,至今不明白咋回事,最后用HTTP_HOST解决都,这个暂时倒是准确。

  • 2019-12-01 08:04:30

    laravel多路由配置,也可以做根据域名都动态路由

    在用laravel 框架开发大型应用的时候,由于 laravel 默认是只有一个路由文件,如果把项目所有模块的路由放在一个路由文件下,那么该路由文件就显得很臃肿,以至于后期难以维护,解决方案是根据不同模块配置不同路由文件。

  • 2019-12-03 15:50:00

    html5 audio stop功能

    html5并没有提供停止功能,我们需要通过其他方式来实现这个问题,下面我们来看下神仙般的操作。