Jump to content

Help


kannnan

Recommended Posts

I play around with the upload code and try uploading image zipped file, the size larger than 10 Megabyte and it always return below code when uploading ( actually it doesn't upload the picture the text below immediately appear )

 

Request Entity Too Large

The requested resource

/lh_manager/ajax/ajax_photo.php

does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.

Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g Server at localhost Port 80

 

I already set the setting in php.ini for the post and upload to 50M and memory to 512M

it check the change in phpmyadmin import tab it said max file is (Max: 51,200 KiB)

and i can upload gz type larger than 10MB ( but gz only for text format right ? )

 

then I try to set it using .htaccess

php_value upload_max_filesize 20M

php_value post_max_size 20M

php_value max_execution_time 200

php_value max_input_time 200

 

and still the same output

I can upload zip file around 9 MB

so it's kinda like there is a limit of 10MB either in post or upload or zip upload

anybody know how to resize this settings ?

Link to comment
https://forums.phpfreaks.com/topic/163462-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.