WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Help! Why can't I upload MP3's? (3 posts)

  1. allover
    Member
    Posted 7 years ago #

    I thought it was possible to upload mp3's or music with WordPress? When I try to upload my MP3 file I get this message:

    "This script was not meant to be called directly"

    I've tried putting this "php_value upload_max_filesize 10M" in the .htaccess file but when I do it gives me a Interal Server 500 error.

    Can someone help?

  2. Eric Musser
    Member
    Posted 7 years ago #

    Says this topic is resolved. What was the solution???

  3. hartley_h
    Member
    Posted 7 years ago #

    In all likelihood, the solution is to increase the limits in /etc/php.ini from the defaults (post_max_size and upload_max_filesize). If you cannot edit php.ini, you need to add something like this to the upload script (inline-uploading.php, I think) (with whatever values you think appropriate):

    ini_set ( "post_max_size", "16M" )
    ini_set ( "upload_max_filesize", "16M" )

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.