Organizational Research By

Surprising Reserch Topic

Question:Resource Control (DoS Control)



asked Sep 13, 2013 in PHP by rajesh
edited Sep 12, 2013
0 votes
18 views



Related Hot Questions

2 Answers

0 votes
You can set maximum execution time of each php script, in seconds. Another recommend option is to set maximum amount of time each script may spend parsing request data, and maximum amount of memory a script may consume. Edit /etc/php.d/security.ini and set the following directives:

# set in seconds
max_execution_time =  30
max_input_time = 30
memory_limit = 40M
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013
0 votes
You can set maximum execution time of each php script, in seconds. Another recommend option is to set maximum amount of time each script may spend parsing request data, and maximum amount of memory a script may consume. Edit /etc/php.d/security.ini and set the following directives:

# set in seconds
max_execution_time =  30
max_input_time = 30
memory_limit = 40M
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013

...