1. Home
  2. Authoring and Development
  3. Creating a .user.ini File

Creating a .user.ini File

A .user.ini file can be used to control PHP settings in a specific directory. For a more in-depth explanation, visit our php.ini vs .user.ini article.  You can create a .user.ini file in your directory of choice by following the tutorial below.

If you want to make changes to the PHP settings for the entire account, VPS and Dedicated accounts should check out their php.ini file. Check out our php.ini vs user.ini article for more information on how to do this.

For Shared Hosting accounts, we recommend still using the user.ini file to make changes.

Creating a .user.ini File

  1. Log in to the Account Control Center (ACC)
  2. Click Files in the left sidebar and then click Web in the drop-down
  3. From here, navigate to the directory where you’d like to create a .user.ini file
  4. Once within your chosen directory, click +New File in the navigation bar 
  5. In the Editing file text field, enter “.user.ini”
  6. In the large text field below, add the desired PHP directives
  7. When finished, click Create File

If the file is created successfully, it will now appear within your chosen directory.

Updated on September 17, 2018

Was this article helpful?

Related Articles