WNYpress

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 type Filename Location Web Hosting (cPanel) .user.ini /public_html (one per account) Windows Hosting with Plesk .user.ini Website root (one per website) Managed Hosting for…

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 type Filename Location
Web Hosting (cPanel) .user.ini /public_html (one per account)
Windows Hosting with Plesk .user.ini Website root (one per website)
Managed Hosting for 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

Still need help?

If this article didn’t solve the problem, send WNYpress the details and we’ll help you with the next step.