• Resolved aubrey114

    (@aubrey114)


    How can I upload and embed audio files larger than 2 MB? I use the bitnami version.WP4.1.1 I am having great results, except for file uploads being limited to 2 MB. Photos seem not to be a problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    The maximum upload size is controlled at the server-level, not by WordPress. Here are three ways you can increase the upload limit:

    1. If you can edit or override the system php.ini file, increase the maximum file and post sizes. For example, upload_max_filesize = 100M ; and post_max_size = 100M ;

    2. If you cannot edit or override the system php.ini file, add php_value upload_max_filesize 100M and php_value post_max_size = 100M to your .htaccess file.

    3. If neither of these work, it’s time to ask your hosting provider to increase the maximum file and post sizes on your account. Keep in mind that most decent hosting providers allow this, and If your hosting provider won’t accommodate you, perhaps it’s time to find a new hosting provider.

    (in the above examples, the limit is set to 100MB)

    Thread Starter aubrey114

    (@aubrey114)

    Thanks James,
    I appreciate the help. I found the php.ini file and simply changed the upload_max_filesize to 64M and the php_value post_max_size to 64M also. At first it didn’t work so I went to .htaccess but I really didn’t want to mess with that. It still wouldn’t upload my images. Then I remembered that I should probably stop Apache and MySql in Xampp and restart them. When they fired up there it was, “Max upload size is 64MB”. I sucessfully uploaded a seven MB file with no problems.
    I thank you again for the help.

    Moderator James Huff

    (@macmanx)

    You’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘uploading larger audio files’ is closed to new replies.