File upload

View previous topic View next topic Go down

File upload

Post  Qwerty1 on Mon Jan 12, 2015 12:06 am

If it seems you can not upload flies you might want to increase the size limit for uploaded files. Im my case the limit was set in PHP to 2MB and my pictures had about 4MB. No warning did appear but there were no files visible in the browser and I could also see nothing in the file system of the server.

For Debian and Lighttpd the file which needs to be changed is  /etc/php5/cgi/php.ini
My values are now:

memory_limit = 128M
upload_max_filesize = 40M
post_max_size = 50M
max_file_uploads = 100

Now I should be able to upload 100 files with up to 40MB size. That should be enough for me.

Qwerty1

Posts : 3
Join date : 2015-01-11

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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