0
How can I modify the 8 Mo limit of PHP ?
I'm using a form using files, and I want to upload Big files but PHP limits the size of the files.
1 ответ
+ 2
Several options exists in the php.ini file for limit file size upload... so, you need have access and write rights to it, and try to modify:
memory_limit = 32M
upload_max_filesize = 24M
post_max_size = 32M
And restart the server. ( "/etc/init.d/httpd restart" on debian/linux )
WARNING: if upload_max_filesize or post_max_size larger than memory_limit, you must increase it so that's larger than them... and don't forgot that uploaded files are "posted", so post_max_size is important to determine size limit ;)