Oct
10
2015
By abernal
In order to increase the upload size of a file follow the next process
Required data
- amount to increase = The amount of MB (Mega Bytes) to be increased
- drupal site root folder = The drupal site root folder
Sample data
- amount to increase = 20M
- drupal site root folder = www
Process
1. Create a php.ini file within the drupal site root folder
[username@host www]$ vim php.ini
2. Populate the php.ini file
upload_max_filesize = 20M post_max_size = 20M
3. Run cron (in this case drush is being used, but it could be through the graphical interface)
[username@host www]$ drush cron