change PHP configuration settings through ini_set function

PHP configuration settings through ini_set function

In this article we will discuss about changing  PHP configuration settings through ini_set function

 

ini_set('max_execution_time', '300');//300 seconds = 5 minutes
ini_set('max_input_time', '300');//300 seconds = 5 minutes
ini_set('memory_limit', '128M');
ini_set('post_max_size', '12M');
ini_set('mbstring.internal_encoding', 'utf-8');
ini_set('upload_max_filesize', '12M');
ini_set('register_globals', 0);
ini_set('display_errors', '1');
ini_set('error_reporting', E_ALL);

 

Leave a Reply

Your email address will not be published. Required fields are marked *