dimik2 Posted September 29, 2010 Share Posted September 29, 2010 Hello folks This is not an urgent problem and I already made a workaround for it. I just wonder if somebody knows what causing it. So you cannot upload big files eg 10-20mb files with a test upload script to your server. You already set post_max_size = 30M upload_max_filesize = 27M memory_limit = 128M In your php.ini but still not help. There is NO error messages in the webserver's access logs and debugging the file upload won't help either. The solution is adding these to the htaccess file: php_value upload_max_filesize 25M php_value post_max_size 25M php_value max_execution_time 2000 php_value max_input_time 2000 So what I want to know why are the global config options ignored and it only works this way? (yes I edited the proper global php.ini) Quote Link to comment https://forums.phpfreaks.com/topic/214667-php-file-upload-size-being-ignored/ Share on other sites More sharing options...
sjgoodjob Posted November 18, 2010 Share Posted November 18, 2010 make sure you restart your apache server Quote Link to comment https://forums.phpfreaks.com/topic/214667-php-file-upload-size-being-ignored/#findComment-1135999 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.