Increasing file upload size

To increase the file upload size we have to edit two values in php.ini:

upload_max_filesize and post_max_size

 

; Whether to allow HTTP file uploads.

file_uploads = On

; Maximum allowed size for uploaded files.

upload_max_filesize = 20M

; Maximum size of POST data that PHP will accept.

post_max_size = 20M

; Maximum number of files that can be uploaded via a single request

max_file_uploads = 25


After editing the php.ini don't forget to restart apache service.

 

  • 43 Users Found This Useful
Was this answer helpful?

Related Articles

Checking system

Procedure for checking System   Check the environment. ...]# set   Show logged in users and...

Processes management

List running processes with their pids, under a hierarchical structure. ...]# ps -auxf   Kill...

Uninstalling and removing the packages

Just use the following command: sudo apt-get remove {package-name}   For example remove...

Midnight Commander Shortcuts

Common Functions Ctrl + r -- Refresh active panelCtrl + t -- Mark single fileCtrl + x c -- Opens...

Installing GIT

There are many ways to set up a GIT server with console. This article shows one way to set up a...

Powered by WHMCompleteSolution