How to edit PHP.INI file in your hosting?

The php.ini file is the configuration file for running applications that require PHP. You can use this file in your hosting to change your file upload size limit, memory limit, and other variables. You can use the MultiPHP INI Editor tool in your cPanel to create the php.ini file and set its values. 

How to Create a php.ini File:

1. In your cPanel, choose MultiPHP INI Editor under the Software section

2. Select the location you would like to create this file in. You will initially want to create this file in the Home Directory. Once you have selected the directory it will show you all of the values that you can change with this file. 

3. Once you have set the values that you want, click the apply button at the bottom to create the file

4. Once the file has been created you will want to go back to your cPanel and access your File Manager to copy this file into any additional locations that you need to. You will want to copy this file to your public_html directory, or the directory for the domain you want this file to apply to as well. 

 

Note: You may need to copy the php.ini file into additional locations for it to function. For example, many WordPress sites need this file copied to the WP-Admin and WP-Content folders as well to function. If you are unsure of where to place this file for your site configuration, please consult your web developer.

  • php, php.ini, php.ini editor, php.ini editor in cpanel, file size limit in cpanel
  • 0 användare blev hjälpta av detta svar
Hjälpte svaret dig?

Relaterade artiklar

How to show hidden files (.htaccess) in cPanel File Manager?

Many users ask us how they can see the .htaccess files for their websites in cPanel File Manager....

How Can I Compress / Uncompress Files Using the File Manager?

How to Compress Files Go to the File Manager. Navigate to the folder where the files you want...

How to View Your cPanel Disk Space Usage?

In order to view your cPanel disk space usage, there’s a great tool located inside of your...

Accessing webmail for your domain

To access the included webmail email clients included with your hosting account, you’ll need to...

How to rename a database in phpMyAdmin?

phpMyAdmin is a free and opensource application for MySQL database management. It is one of the...