How to change PHP ini using .user.ini file

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 >> File Manager).

    • In cPanel & WHM version 64 and earlier, select Web Root , select the Show hidden files checkbox, and then click Go .  
    • In cPanel & WHM version 66 and later, click Settings, select the Show hidden files checkbox, and click Save.
  3. Navigate to the target directory.
  4. Create a new file.
    • In cPanel & WHM version 64 and earlier, click New File.
    • In cPanel & WHM version 66 and later, click + File.
  5. Enter .user.ini

    Important:

    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.
  • edit php ini, php.ini, change php.ini, change upload_max_filesize, change php memory_limit
  • 5260 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Vezani članci

How do I access cPanel?

cPanel can be accessed by using either of the URLs below:   www.yourdomain.com/cpanel...

How do I find my MySQL version?

Login to cPanel In the "Stats" section on the left, locate the row labeled "MySQL Version"....

How do I find my PHP version?

Login to cPanel. In the "Stats" section on the right, located the row labeled "PHP version"....

What do my cPanel stats mean?

Within cPanel, there are numerous statistics listed on the left of the screen.   Main Domain...

What are cron jobs?

Cron jobs are routines that execute a script on any given interval. For instance, you may have a...