In my local wordpress site i can just upload files with just 2Megabyte,i have increased the upload_max_filesize to 64Mb and restarted wamp but when i run <?php echo phpinfo()?> it show upload_max_filesize = 2M yet.nothing changed, what should i do to increase upload limit?
i also have visit so many post in stackoverflow and other forums like:increase-file-upload-size-for-media-in-wordpress
and cannot change php upload size limit
but they didn’t help me at all!
I finally fixed my problem.
I was changing all the time the php.ini in the C:\wamp\bin\php\php5.4 folder but the right file was the php.ini of this folder C:\wamp\bin\apache\Apache2.3.14\bin .
and also I understand that for increasing
max_file_uploadsfirst must increasepost_max_size, andmax_file_uploadsmust be smaller or equal to thepost_max_size, any other way the codes will be run with default size ofpost_max_size.tnx all who helped me