- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
php.ini
September 11, 2015
PHP.ini is file configuration for your hosting server. The php.ini file is where you declare changes to your PHP settings. You can use the default settings for the server, change specific settings by editing the existing php.ini, or create a new text file and name it php.ini.
Usually the server is already configured with standard settings for PHP that have been selected by our administrators to be the most optimal setting for a majority of our customers. Unless you specifically need to change one or more of the settings, there is no need to create or modify a php.ini file. If the php.ini file does not exist in your account, then your site will use the default PHP settings defined on the server.
PHP.ini is very useful and it is a configuration file that is used to customize behavior of PHP at runtime. This enables easy administration in the way you administer Apache web server using configuration files. The Settings in which upload directory, register global variables, display errors, log errors, max uploading size setting, maximum time to execute a script and other configurations is written in this file. In order to set your own setting, you may use special php.ini directives.
When PHP Server starts up, it looks for PHP.ini file first to load various values for settings. If you made changes in PHP.ini, then you need to restart your server to check the changes be effected. The copy of default php.ini file can be found in /usr/local/lib/php/ for UNIX installation.