TIPS FOR: The uploaded file exceeds the upload_max_filesize directive in php.ini
-
Stressing over this error? Can’t fix it even though you edited the php.ini & .htaccess files? Nothing working?! Here are some things that helped me fix the “The uploaded file exceeds the upload_max_filesize directive in php.ini” error.
Added these to my php.ini file:
file_uploads=1 upload_max_filesize=64M post_max_size=64M max_execution_time=-1
Added these to my .htaccess file:
suPHP_ConfigPath /home/<your folder name>/public_html <Files php.ini> order allow,deny deny from all </Files>
At first I made the mistake of writing “MB” after the 64. I kept getting the error (ugh!) so I tried just “M” and that FIXED IT for me! So try doing that, and I hope this helps!!!
- The topic ‘TIPS FOR: The uploaded file exceeds the upload_max_filesize directive in php.ini’ is closed to new replies.