What is the Php.ini file and how to use it

The Php.ini file is a configuration file, storing standard settings and characteristics of your website. The file is the first one to be accessed and read as the website is being loaded.

The basic settings are the first to be set up, but as the website grows, so will some of the attributes within the file change, to accommodate the edits.

The memory_limit is a per-script setting, setting the maximum amount of memory in bytes that a script is allowed to allocate.

The upload _max_size  file is the maximum size that a file can be when being uploaded to a site’s server.

The post_max_size is the limit of the entire body of the request, which could include multiple files .

The max_execution_time sets the maximum time in seconds a script is allowed to run before it is terminated by the parser.

The display_errors directive controls whether or not PHP displays error messages in users’ web browsers.

The date.timezone sets the timezone of the user’s location.

The error_reporting function sets the error_reporting directive at run-time. PHP has many levels of errors, using this function sets that level for the duration (run-time) of your script.

The session.save_path is the path of the current directory used to save session data.

The magic_quotes.gps is a process that automagically escapes incoming data to the PHP script.