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 script i still get 2M to be the 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?

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.