ServerTune

Browse by category

Search    |    Advanced search

HowTo :: Tweak php for maximum execution time for scripts

Php by default places resource limits on all php scripts using 3 directives:

A php script might timed out because of resource limits. All you need to do is setup a new resource limits so that script will get executed.

Edit Php.ini file /etc/php.ini (or /usr/lib/php.ini) file and adjust the resource limits:

max_execution_time = 600
max_input_time = 120
memory_limit = 64M

Then restart Apache web server:
/sbin/services httpd restart

 
 
Add comment
 
Views: 1070
 
Votes: 0
 
Comments: 0
 

Other articles in this Category

RSS