how do i increase the size of file upload?. i have changed the value of upload_max_size to 300M and post_max_size=600M in php.ini and restarted the apache server. running php.info script i still get 2M to be the upload_max_size.now when i run my uploading script and try to upload file a big file( file size within my specified limits), i get UPLOAD_ERR_INI_SIZE error. can anybody tell me how to solve this problem?

9 Years
Discussion Span
Last Post by carobee

sorry to start a new thread, but i had overlooked the path for php.ini in my phpinfo() file. i was editing the wrong php.ini file and restarting the server without much success. now after editing the right php.ini file i am able to change the file upload size

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.