What is php.ini?
Php.ini is a PHP configuration file with which you can influence how PHP functions. This file is usually stored in the public_html folder and gets activated whenever PHP starts up.
If you do not see a file named php.ini in your public_html folder, you can create one in File Manager.
By default, your site will use the standard PHP settings in your server. However, if you need to revise or change any of the default PHP settings in your server, you can do so by creating and/or modifying a php.ini file.
How to increase the File Upload size in php.ini
One modification you can implement in php.ini is increasing the maximum File Upload size in your website.
To increase the maximum upload file size (upload_max_filesize) in the php.ini file, follow the steps below:
- Click on My Account at the top of the page.
- Select Hosting Manager from the drop-down menu.
- Enter your username and password, and click Log In.
- On the Home page, click the word Files or the [ v ] arrow symbol on the right side.
- Click the File Manager icon, which is next to the Directory Privacy icon.
- On the pop-up screen, select Web Root (public_html/www) and click Go.
- Next screen, all of the files and folders in your web space will be displayed in a tree-style directory. Look for the php.ini file in your public_html folder.
- Right-click on the said file and click Edit.
- Next page, within the file, search for the following text:
; File Uploads ;
; Whether to allow HTTP file uploads.
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not specified).
; Maximum allowed size for uploaded files.
upload_max_filesize = 128M (This is where you set your preferred maximum upload size.)
Make sure that the file_uploads section is set to on, and the Maximum allowed size for uploaded files is set to your preferred size.
- Click Save Changes.
Changes saved in the php.ini file will affect all the other files that are in the same folder as the php.ini file. However, if you want the changes to affect all directories, you can set the php.ini file to recursive through .htaccess. To do this, click the link below:
Important Note: Any edits made to files here will be immediately displayed on your site. As such, it is recommended to use the File Manager edit function only for small changes. Any large site changes that could damage its functionality should be done using FTP after creating a backup.
If you want to know how to change the PHP time zone using php.ini, click here.
If you want to know how to get started with Web Hosting, click here.
If you want to know how to access your Hosting Manager, click here.
If you want to know how to access the File Manager, click here.
Fantastic...Thank you for your feedback =)
Sorry... Please submit a support ticket or try another search.