• 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

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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

    Thread Starter bdiphoto

    (@bdiphoto)

    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

    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.

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘increasing video upload size’ is closed to new replies.