[linux]Change the limit of file uploading in ubuntu

2016-3-10 写技术

vi /etc/php5/apache2/php.ini

upload_max_filesize = 2M 
memory_limit = 128M 
post_max_size = 8M

sudo /etc/init.d/apache2 restart

标签: linux

发表评论:

Powered by anycle 湘ICP备15001973号-1