john_6767 Posted August 4, 2007 Share Posted August 4, 2007 I used to have a line in my .htaccess file that over rode the 2mb limit (php_value upload_max_filesize 10M). But recently my server (jumba.com.au) has introduced something new which won't let this work. I get the following error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@domain.com.au and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. Is there another way to up this file upload limit or should i look at different servers? I know I can ask the server guys but they haven't been very helpful in the past. Quote Link to comment https://forums.phpfreaks.com/topic/63282-solved-php-file-upload-limit-error-when-over-riding/ Share on other sites More sharing options...
john_6767 Posted August 5, 2007 Author Share Posted August 5, 2007 bump.. Quote Link to comment https://forums.phpfreaks.com/topic/63282-solved-php-file-upload-limit-error-when-over-riding/#findComment-315870 Share on other sites More sharing options...
dbo Posted August 5, 2007 Share Posted August 5, 2007 Take a look at ini_set. You can put that stuff right in the script(s) that need it. Quote Link to comment https://forums.phpfreaks.com/topic/63282-solved-php-file-upload-limit-error-when-over-riding/#findComment-315873 Share on other sites More sharing options...
john_6767 Posted August 5, 2007 Author Share Posted August 5, 2007 cheers, i'll give that a go, i'll try ini_set('post_max_size', '20M'); ini_set('upload_max_filesize', '20M'); Quote Link to comment https://forums.phpfreaks.com/topic/63282-solved-php-file-upload-limit-error-when-over-riding/#findComment-315899 Share on other sites More sharing options...
dbo Posted August 5, 2007 Share Posted August 5, 2007 Wee. Let me know Quote Link to comment https://forums.phpfreaks.com/topic/63282-solved-php-file-upload-limit-error-when-over-riding/#findComment-315901 Share on other sites More sharing options...
john_6767 Posted August 5, 2007 Author Share Posted August 5, 2007 Cheers, that works.. I also have some .flv files that work fine locally but don't play online, would there be another setting to limit the max file size of downloads? They are progressive downloads not streaming.. Quote Link to comment https://forums.phpfreaks.com/topic/63282-solved-php-file-upload-limit-error-when-over-riding/#findComment-315913 Share on other sites More sharing options...
dbo Posted August 5, 2007 Share Posted August 5, 2007 Hrmm. There -shouldn't- be any issues with the downloads. Quote Link to comment https://forums.phpfreaks.com/topic/63282-solved-php-file-upload-limit-error-when-over-riding/#findComment-315916 Share on other sites More sharing options...
john_6767 Posted August 5, 2007 Author Share Posted August 5, 2007 no worries, i'll check it out further and then make another topic if i can't get it, cheers! Quote Link to comment https://forums.phpfreaks.com/topic/63282-solved-php-file-upload-limit-error-when-over-riding/#findComment-315921 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.