upload_max_filesize PHP Issue

Home Forums WordPress Theme Support BfastMag Pro upload_max_filesize PHP Issue

This topic contains 1 reply, has 2 voices, and was last updated by  Raja CRN 2 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7923

    RAHUL
    Member

    Hello,
    I am getting below error while I am uploading this theme in WordPress – Please advise.

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

    #7926

    Raja CRN
    Keymaster

    Hi,

    It’s not a theme error.

    The default upload file size for WordPress is 2 MB, which is a problem if you want to upload a large media files.

    If you get this error, “The uploaded file exceeds the upload_max_filesize directive in php.ini”, follow these steps:

    1. Locate the php.ini file inside the wp-admin directory (if you can’t find this file see notes below)
    2. Find this line in the php.ini file “upload_max_filesize = 2M” and replace it with a higher value (e.g. “upload_max_filesize = 64M”)
    3. You may also want to increase your max post size. Look for this line in your php.ini file “post_max_size” and increase it as well.
    4. Save the changes to the file inside your wp-admin directory.
    5. Try the upload again
    6. If you still have issues, look for this file in your root directory and make the same changes. or Contact Server Support

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

Only Verified Customer of this Theme Can post reply to this Support Topic! .