fbpx

The uploaded file exceeds the upload_max_filesize directive in php.ini.

In order to fix this common ‘uploaded file exceeds the upload_max_filesize‘ error you will need access to your .htaccess file.

  1. Log into cPanel and go into the file Manager
  2. Navigate to your websites root directory, usually lives in the public_html folder
  3. At the top right of the screen select options
  4. Select ‘Show Hidden Files)
  5. Hit Save

You should now be able to see the .htaccess file available, select the file and hit edit.

Insert the following line at the bottom of your .htaccess file and hit save.

php_value upload_max_filesize 256M

You should now be able to upload larger files without the following error: The uploaded file exceeds the upload_max_filesize directive in php.ini.