I'm trying to use a html file input tag to upload videos to a php 5.3.10 script running on a wamp 2.2 server. I found that it won't upload and apparently it is too big.
I have gone into php.ini and changed the following to 100M: post_max_size, upload_max_filesize
and memory_limit is at 128 MB. I restarted WAMP and tried to upload the file, but it still did not upload. I then cleared my cache and history and restarted wamp, and it still didn't work. I then cleared the cache, turned off wamp, turned off my computer and then started up again, started wamp, and it still didn't work.
The video I am trying to upload is about 25 MB.
Inspite of the changes I made in php.ini, the Apache Error Log keeps posting this error, everytime I try to upload this video:
[error] [client 127.0.0.1] PHP Warning: POST Content-Length of 26246222 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referer: http://localhost/uploadFile.html
Also a php script with the following line:
echo ini_get('upload_max_filesize'), ", " , ini_get('post_max_size'), ", ", ini_get('memory_limit'): prints out: 100M, 8M, 128M
So it seems that it is the post_max_size that is the problem, eventhough I set to 100M in php.ini
What could be the problem? How do I solve this?...
Here is a link to the contents of my php.ini file, which is under C:\wamp\bin\php\php5.3.10: