No announcement yet.

How Do I Set Up a PHP .user.ini File ?

  • Filter
  • Time
  • Show
Clear All
new posts

  • How Do I Set Up a PHP .user.ini File ?

    Overview :

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

    System requirements :

    1.You must use PHP version 5.3.0 or higher.
    2.You cannot use the DSO PHP handler.

    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 File Manager ( Home >> Files >> File Manager ) interface.
    3.Click the Web Root.
    4.Select the Show hidden files checkbox.
    5.Click Go.
    6.Click the target directory.
    7.Click New File.
    8.In the Create a New Field text box, enter .user.ini

    Note : Do not forget to include the period that precedes the file name.

    9.Click Create New File.
    10.Click .user.ini and click Edit.
    11.Enter the PHP directives that you wish to adjust for the directory and click Save.