16
FAQ, Tips / Re: Cannot upload files larger than 2Mb
« on: February 17, 2006, 10:26:38 AM »
Hi dear friends.
I have been reading this whole week about this "2Mb image problem" and I tryed everything I could.
1. My server provided me a file php.ini where I changed the max file to 15 MB
* Nothing changed...
2.I tryed to make the htaccess file with:
php_value upload_max_filesize "15M" inside.
* the page gets offline with this error message:
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator, webmaster@yoursite.com and inform
them of the time the error occurred, and anything you might have done that
may have caused the error.
3 I removed the .htaccess and everything came back to normal again.
This is what my server told me aboout .htaccess:
That's because of phpsuexec, which is incidentially the reason why the php.ini thing works.
More on that subject here:
http://ion-web.com/forum/showthread.php?t=3D1053
So, yank that out of the .htaccess, as it won't work. The php.ini thing should work for you though, just copy the file over.
4.My server Checked out the upload_max_filesize listed on my site
with test.php:
It's currently set to 15 megabytes. That's what it should be, which would indicate that the problem lies not with PHP but perhaps with something else.
5 Do you have any idea of what possibly is going on? Because neither I nor the server knows ??
Thank you for any help
I have been reading this whole week about this "2Mb image problem" and I tryed everything I could.
1. My server provided me a file php.ini where I changed the max file to 15 MB
* Nothing changed...
2.I tryed to make the htaccess file with:
php_value upload_max_filesize "15M" inside.
* the page gets offline with this error message:
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator, webmaster@yoursite.com and inform
them of the time the error occurred, and anything you might have done that
may have caused the error.
3 I removed the .htaccess and everything came back to normal again.
This is what my server told me aboout .htaccess:
That's because of phpsuexec, which is incidentially the reason why the php.ini thing works.
More on that subject here:
http://ion-web.com/forum/showthread.php?t=3D1053
So, yank that out of the .htaccess, as it won't work. The php.ini thing should work for you though, just copy the file over.
4.My server Checked out the upload_max_filesize listed on my site
with test.php:
It's currently set to 15 megabytes. That's what it should be, which would indicate that the problem lies not with PHP but perhaps with something else.
5 Do you have any idea of what possibly is going on? Because neither I nor the server knows ??
Thank you for any help