techxplore blog

Linux Zpanel KFM Module Increase File Upload Limit

Zpanel web hosting manager includes a lot of installable module. I find Kae’s File Manager module to be very useful. The default upload file size seems to be limited to 2Mb. Thus, it needs to be configured to allow bigger file uploads.

The way to increase KFM module file upload limit is to edit the php.ini file. The file is located under “/etc” folder. I plan to increase the file upload limit size to 25Mb. The following variables need to be adjusted upload_max_filesize, post_max_size, max_execution_time, and max_input_time.

Using the Vi text editor:
# vi /etc/php.ini

I’ve set it accordingly the parameters as follows:
upload_max_filesize = 25M
post_max_size = 25M
max_execution_time = 120
max_input_time = 60

I restarted the httpd service for the new settings to take effect.
# /etc/init.d/httpd restart

I open up the web hosting panel KFM file manager and tested file uploads until 25Mb and it worked fine to my delight.

Leave a Reply