kannnan Posted June 24, 2009 Share Posted June 24, 2009 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 More sharing options...
[email protected] Posted June 24, 2009 Share Posted June 24, 2009 Change the settings like below upload_max_filesize 64 M post_max_size 128M memory_limit 3027M set the above setting it's working Link to comment https://forums.phpfreaks.com/topic/163462-help/#findComment-862603 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.