Knowledgebase: Programming & Languages > PHP
How can I incease default php.ini limits to what my scrip needs?
Posted by Bill Williams on 19 August 2006 01:29 PM
Ideally you should create a custom php.ini with just the custom limits in very directory you need it changed.

or

If you need set just for a particular php page, you may add at the top of the php page, the required custom limits, like:

<?php
ini_set
("max_execution_time", "45"
);
ini_set("memory_limit", "12"
);
?>

(252 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).