Page 1 of 1

PHP Fatal error: Maximum execution time of 300

PostPosted: 09. November 2018 11:37
by geraud
Hello,

I have a problem to import Democontent in Wordpress with the following errors for example.

Code: Select all
[php7:error] [pid 22452:tid 1988] [client ::1:57367] PHP Fatal error:  Maximum execution time of 300 seconds exceeded in C:\\xampp\\htdocs\\...\\wp-includes\\wp-db.php on line 1924, referer: http://localhost/wp-admin/admin.php?page=avada-demos


Code: Select all
[Fri Nov 09 07:31:41.574968 2018] [php7:error] [pid 10520:tid 2060] [client ::1:56304] PHP Fatal error:  Maximum execution time of 300 seconds exceeded in C:\\xampp\\htdocs\\...\\wp-includes\\cache.php on line 700, referer: http://localhost/wp-admin/admin.php?page=avada-demos


Systeminformation:
XAMPP v3.2.2
Windows 10

I have already customized the following files:
php.ini
Code: Select all
-max_execution_time=2600
-mysql.connect_timeout=1000
-max_input_time=600
-max_input_vars = 3000
-memory_limit=1G


wp-config.php
Code: Select all
-set_time_limit(600);


.htaccess
Code: Select all
-php_value max_execution_time 600
-php_value max_input_time 600


my.ini
Code: Select all
-innodb_buffer_pool_size = 1G
-query_cache_size=64M


I have no idea where I can still look or where the value 300 could still be set.


Than you

Re: PHP Fatal error: Maximum execution time of 300

PostPosted: 09. November 2018 12:02
by Altrea
What is the output of phpinfo();?

Re: PHP Fatal error: Maximum execution time of 300

PostPosted: 09. November 2018 12:13
by geraud
max_execution_time
Local Value: 600
Master Value: 2600
Or do you need other Values?

Re: PHP Fatal error: Maximum execution time of 300

PostPosted: 09. November 2018 12:25
by Altrea
So php is of the opinion the maximum execution time is set to 600.
Mayb3 your application overwrite this value in its configuration or code.