Forums

increasing video upload size (5 posts)

  1. bdiphoto
    Member
    Posted 2 years ago #

    I host my own wordpress blog. I want to add a 5 meg video to my latest post. but I get this message.
    The uploaded file exceeds the upload_max_filesize directive in php.ini.

    How do I change the max size and If I'm hosting why do I have a Limit?

    Thanks for all your help.
    joel

  2. Micah Cooksey
    Moderator
    Posted 2 years ago #

    It depends on your webhosting setup, but sometimes your host will let you edit your php.ini file. Find the file in your web space, and change the upload_max_filesize to upload_max_filesize = 50m

  3. bdiphoto
    Member
    Posted 2 years ago #

    Ok this will make your eyes roll. Define "web space" I'm running this and my other sites from a mac mini as my web server. I assume that you mean open terminal and find the file there?
    Thanks for your answer.
    J

  4. Micah Cooksey
    Moderator
    Posted 2 years ago #

    If you're hosting it yourself that would in some ways make it easier for you because you are the administrator and you don't have a restrictive policy from your web host. Just find your php.ini file where your website files are stored on your Mac Mini and edit it as described above.

  5. Shane G.
    Member
    Posted 2 years ago #

    Hi,

    Add this code in htaccess of your blog/domain:

    php_value upload_max_filesize 20M
    php_value post_max_size 20M
    php_value max_execution_time 200
    php_value max_input_time 200

    You can reset the upload file size according to your requirement.

    Thanks,

    Shane G.

Topic Closed

This topic has been closed to new replies.

About this Topic