Dec 5th
Most servers have the PHP upload file size limit set to 2M, which means the maximum size of file you can upload using your php script is 2mb only. To increase the limit, please do the following:
If you have PHP running as a CGI module
- Check if your cgi folder or root folder has a file called php.ini, if no, then use your notepad to create one and have it uploaded to your root/cgi folder
- add “upload_max_filesize = 100M” (without quotes) to your php.ini then save the file
If you have PHP running as an apache module
- Check if your root folder has a file called .htaccess, if no, then use your notepad to create one and have it uploaded to your root folder
- add “php_value upload_max_filesize 100M” (without quotes) to your .htaccess then save the file
Now the upload file size limit has been changed to 100mb. To verify your changes, you may open your phpinfo, then search for upload_max_filesize

.htaccess, file size, increase, php.ini, upload, upload_max_filesize









