How to Fix The uploaded file exceeds the upload_max_filesize directive in php.ini

How to Fix The uploaded file exceeds the upload_max_filesize directive in php.ini
The uploaded file exceeds the upload_max_filesize directive in php.ini Error When Upload Theme to Wordpress .

How to Fix The uploaded file exceeds the upload_max_filesize directive in php.ini

  1. go to CPanel then choose File Manager .
  2. Click on Settings then Choose Show Hidden Files and Click Save .
  3. righ click on .htaccess and choose edit then Press Edit .
  4. add this line in the end of .htaccess file
    php_value upload_max_filesize 128M
  5. Click Save Changes .