Support » Fixing WordPress » Uploading files larger than 35MB

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi thespasiankid,

    Where specifically are you trying to upload the file?

    Generally, if you’re not able to upload files due to the size of the file, you’re reaching the upload_max_filesize limit in php. You can easily change this limit by updating your .htaccess file or your php.ini file. For more details on this, please see:
    How to update your php settings

    Let us know if you have further questions on this.

    Thread Starter thespasiankid

    (@thespasiankid)

    I was attempting to upload an mp3 file to the media library, I have multiple 150MB files that I would like to upload. However, I will try this site you have passed along to me, thank you.

    Hi thespasiankid,

    That’s quite a large mp3 file? As long as your php’s upload_max_filesize value is high enough, you should be good to go.

    150MB may take a few minutes to upload, so you’ll also want to update the maximum amount of time your php script can run:
    find max_execution_time in your phpinfo file

    To be on the safe side, you may also want to make sure your memory_limit value (shown in your phpinfo) file is larger than 150MB.

    Either way, is something goes wrong, you should get an error message. Let us know what error you’re receiving and I’ll be happy to review further.

    Thread Starter thespasiankid

    (@thespasiankid)

    Ok yesterday I found my phpinfo() page, but obviously I cannot edit the information here, I can only view it. According to the link you had sent me, it says that I can update my php.ini file by going to the public_html/php.ini. So my next question is, where do I find the public_html?

    Hi thespasiankid,

    Not all hosts are setup the same way, so your php.ini file may not be in the public_html folder.

    To find out which file you need to edit, look at your phpinfo.php file, and find the value for:
    “Loaded Configuration File”

    When looking at my server, I would need to edit:
    /home/whhsup5/public_html/php.ini

    Steps to take for editing this file depend on which host you’re with. If you’re not familiar with using FTP, you may want to contact your host to find the best way to edit a file.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Uploading files larger than 35MB’ is closed to new replies.