Error: uploaded file exceeds the upload_max_filesize directive in php.ini

I am trying to upload a new wordpress theme and I encountered this error:

    uploaded file exceeds the upload_max_filesize directive in php.ini.

I tried this solution:
Created a new php.ini file in the wp-admin folder and wrote this in it:

    file_uploads = On;
    post_max_size = 10M;
    upload_max_filesize = 10M;

Then I killed all php processes and tried again..but it still don’t work!

So, any idea what’s wrong ?
(I’m using godaddy shared hosting Cpanel)

Read more here: Error: uploaded file exceeds the upload_max_filesize directive in php.ini

Leave a Reply

Your email address will not be published. Required fields are marked *