O
O
Optimus2015-08-18 12:26:02
PHP
Optimus, 2015-08-18 12:26:02

Fatal error execution time where to dig?

Fatal error: Maximum execution time of 0 seconds exceeded in...
A very simple but long loop works. Max_execution_time = 0 is already set in php.ini
What else can be adjusted on the server to remove the error?
php 5.4... SafeMode no
value -1 tried, error occurs Maximum execution time of -1 seconds
Solution: make max_input_time -1

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly Inchin ☢, 2015-08-18
Pyan @marrk2

There may be a limitation in .htaccess

<ifModule mod_php.c>
  php_value	max_execution_time 0
  php_value	max_input_time -1
</ifModule>

A
Andrey Pavlenko, 2015-08-18
@Akdmeh

Most likely max_execution_time is still overwritten somewhere.
Try running a phpinfo() file in the same folder and see if it's really zero.
Setting the set_time_limit(0) directive will also help; at the beginning of the long loop file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question