GoDaddy Help

What filename does my PHP initialization file need to use?

You can configure some of your PHP settings using a PHP initialization file. The file name your PHP initialization uses depends on the type of hosting account you have.

Hosting account typeFilenameLocation
Web Hosting (cPanel).user.ini/public_html (one per account)
Windows Hosting with Plesk.user.iniWebsite root (one per website)
Managed WordPress.user.ini/html (one per website)

Not all INI settings can be changed in a .user.ini. Changes are limited to settings with the modes PHP_INI_PERDIR and PHP_INI_USER from the list of php.ini directives at php.net.

Related steps

More info

Share this article