I have a server with debian. Server host X vservers (for example 1vserver to pound, second to SQL, third for website X etc). I'm working on one vserver. I have apache2 with one website. In my php.ini I have max_execution_time = 300 and max_input_time = 249 But when I run script php:
echo '1';
sleep(16);
echo '2';
I get error Internal Server Error but I don't have any information in error_log. When I set sleep on 14 sec - this works...
My guess is -> something on debian set time of executing script to 15 sec and ignore setting in php.ini. Our root don't know what this is. Can you help me?
I change my script:
<?php
ini_set('error_reporting', E_ALL);
error_reporting(E_ALL);
ini_set('log_errors', true);
ini_set('html_errors', false);
ini_set('error_log', dirname(__FILE__).'script_error.log');
ini_set('display_errors', true);
//set_time_limit(1200);
ini_set("max_execution_time",1200);
echo '1';
sleep(16);
echo '2';
?>
And I get 500 error and I don't have any info in error_log. If sleep(14) than is ok.
EDIT2:
I change LogLevel na info, debug, notice and warn.And I don't have any information about errror
EDIT3:
Problem is solve. Problem is server pound (http://linux.die.net/man/8/pound). Default value of timeout was setting on 15s. Thank for help for all