PHP initialization files can manage form, server, and environmental variables as well as server-side cookies, temporary directories, error display, and error logging. You can look at the directives these files can control in PHP's documentation.
The file name your PHP initialization must use depends on the type of hosting account you have (more info).
Type | Filename | Location (more info) |
---|---|---|
Web Hosting - Linux with PHP 5.6 (here. Web Hosting accounts running Windows with IIS 6 do not support PHP and therefore do not support PHP initialization files. 1 2 cPanel also supports 3 Managed WordPress accounts also support using 4 When using cPanel, you can also modify the php.ini file when selecting which php version you are using by clicking Switch To PHP Options. For more information, see View or change your PHP version in cPanel hosting. More infoRelated Articlesphp.ini/.user.ini Changes Not Taking EffectWhy did I receive a timezone error with my PHP website?Disabling APC on Your Hosting AccountDo you disable any PHP functions on your Linux hosting accounts?Using Zend Guard Loader in cPanel Shared HostingMicrosoft URL Rewrite ModuleConnect remotely to databasesChange file extension handlers/languages (Linux) |