WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Help! Why can’t I upload MP3’s?

[Resolved] Help! Why can’t I upload MP3’s?

  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Says this topic is resolved. What was the solution???

    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” )

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Help! Why can’t I upload MP3’s?’ is closed to new replies.
Skip to toolbar