The PHP .user.ini file allows you to customize PHP directives on a per-directory basis.

System requirements

Configuration requirements

We recommend that you review the .user.ini PHP documentation before you implement any configuration changes.

User.ini file setup

To set up a user.ini file, perform the following steps:

  1. Log in to your cPanel account.
  2. Navigate to the cPanel's File Manager interface (cPanel >> Home  >> Files >> File Manager ).

  3. Navigate to the target directory.
  4. Create a new file.
  5. Enter .user.ini

    You must include the period that precedes the file name.

  6. Click Create New File.
  7. Select the new file in the list of files and click Edit.
  8. Enter the PHP directives that you wish to adjust for the directory.
  9. Click Save.

Additional documentation