dalitec Posted March 19, 2011 Share Posted March 19, 2011 Hi I am running debian lenny, apache2 php5. My fail upload fails for large file sizes. A 6.2 MB file uploads file, but a 10.2Mb file fails. I have set the Max file size to 50MB and max_execution to 600 etc in php.ini, but still have the same problems. I have noticed many others having similar problems. Is there a solution? [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/231064-php-upload-fails-for-large-size-files/ Share on other sites More sharing options...
PFMaBiSmAd Posted March 19, 2011 Share Posted March 19, 2011 What's the actual syntax that you used to change the upload_max_filesize setting, where exactly did you try to set it at, did you use a phpinfo() statement to verify that it was actually changed, and what does the phpinfo() statement show for the post_max_size setting? Link to comment https://forums.phpfreaks.com/topic/231064-php-upload-fails-for-large-size-files/#findComment-1189392 Share on other sites More sharing options...
dalitec Posted March 20, 2011 Author Share Posted March 20, 2011 Thank you for pointing out the post_max_size setting. I had changed the upload_max size but not the post_max_size. Once I changed that, upload worked fine for the larger file size. Thanks again. Hopefully others having similar problems will benefit from this. Link to comment https://forums.phpfreaks.com/topic/231064-php-upload-fails-for-large-size-files/#findComment-1189914 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.