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.


  • 2017-02-24 15:07:05

    PHP 中的 9 个魔术方法

    这个标题有点牵强因为php有不只9种魔术方法, 但是这些将会引导你使用php魔术方法一个好的开始。它可能魔幻,但是并不需要魔杖。 这些'魔术'方法拥有者特殊的名字,以两个下划线开始,表示这些方法在php特定事件下将会被触发。这可能听起来有点自动魔法但是它真的很酷的,我们已经看过一个简单的例子在 last post,即我们使用一个构造器-使用这个作为我们第一个例子

  • 2017-02-24 15:53:02

    PHP中__get()和__set()的用法实例详解

    在PHP5中,预定义了两个函数“__get()”和“__set()”来获取和赋值其属性,对每个字段进行set和get的操作。只需要加上两个魔术方法即可

  • 2017-02-24 16:53:58

    PHP 中的Closure

    Closure,匿名函数,又称为Anonymous functions,是php5.3的时候引入的。匿名函数就是没有定义名字的函数。这点牢牢记住就能理解匿名函数的定义了。