Edit Php.ini in Cpanel

1. login to cpanel
2. select the MultiPHP INI Editor.
3. there are two modes to edit the php configuration.
Basic mode:
The Basic Mode section of this interface loads the following directive values from the php.ini file for your selected domain or home directory. Make your changes to the desired directives and click Apply. The system saves changes to both the php.ini file and the user.ini file and your .htaccess file.

Editor mode:
The Editor Mode section of this interface loads the contents of the php.ini file for your selected domain if it exists. If the php.ini file does not exist, the interface loads a blank editor so that you can create your own file. Make your changes to the desired directives and click Save.

(OR)
1. Copy the global php.ini file to under the public_html or Create a PHP.ini file under the publi_html folder
2. Updating your php.ini values in public_html/php.ini.
3. Save the file.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

5 Ways to Get a User’s Disk Usage

This may seem pretty simple, but I see a lot of questions about how to get a user’s disk space...

500 Internal Server Error help

First remember that “Internal Server Error” does not mean a server problem. It implies an...

Adjust Email Quota

If you need to adjust your email mailbox quota, you can do so from within your cPanel account.1)...

Changing an FTP User’s Path

By default, your main FTP (cPanel) user will have and FTP path to the user’s home folder, and...

Common cPanel Commands List

Most Common Linux Cpanel Commands for Server Admins & Cpanel Users .Limit webuser resources...