Allowing massive file upload sizes in linux apache2 webserver php.ini file edit

Go down

Allowing massive file upload sizes in linux apache2 webserver php.ini file edit

Post by jamied_uk on 21st November 2014, 16:45

STEP 1:
run this in your terminal

Code:
sudo gedit /etc/php5/apache2/php.ini



STEP 2:
Find this
upload_max_filesize


change from 2m to 20000m like this

upload_max_filesize = 20000M

now look for post_max_size = 

and change to post_max_size = 90000M



STEP 3:

Save and restart apache2 web server!

Code:
sudo /etc/init.d/apache2 restart





More info:

http://www.miscdebris.net/blog/2008/04/14/changing-the-php-file-upload-limit-in-ubuntu-linux
avatar
jamied_uk
Admin

Posts : 2320
Join date : 2010-05-09
Age : 35
Location : UK

http://address-shortner.co.uk

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum