• Resolved hamiltino

    (@hamiltino)


    Currently it says maximum file upload size is 50MB. How do i increase this?

    I want to upload videos, this is not enough.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Hello hamiltino,

    Typically this is done through the upload_max_filesize value in your php.ini file on your server, but since this varies a bit by hosting company, can you tell us which hosting company you use? Also I am assuming you are on a shared server . . . if this is not the case please let me know.

    Cheers,

    Michael

    Thread Starter hamiltino

    (@hamiltino)

    Hi Michael,

    I am using an Australian Web hosting Company: Netregistry and i am using there cloud hosting service.

    When you can’t edit the php.ini file yourself, you should contact Netregistry and ask them if it’s possible to increase the “upload_max_filesize” value.

    Hey hamiltino,

    For Netregistry, there is probably not a php.ini file in your root directory already. Simply create a blank file (preferably in an editor like Notepad++) and include the following code.

    upload_max_filesize=64M

    and change the 64M to whatever you would like it to be. Then save it as php.ini and upload it to the root directory of your server.

    Then, backup your .htaccess file (download a copy of the working version to your hard drive just in case), open it up and add the following code

    suPHP_ConfigPath /home/USERNAME/public_html/

    replacing USERNAME with your CPanel username. Save it and upload it back to your server. This should successfully change the upload limit for you. If after uploading the modified copy of your .htaccess file you have problems accessing your site, just upload the backup copy you downloaded before and replace the one that is up there to get everything working again.

    Let me know if there are any questions on this.

    Cheers,

    Michael

    Thread Starter hamiltino

    (@hamiltino)

    I haven’t tried what you have said yet, i contacted the web hosting company directly and i got this reply:

    “I created a .htaccess file for you with a code php_value upload_max_filesize 64M which will make the upload max file size 64 mb. You may edit the .htaccess and replace the 64 to your preferred file size and save it.”

    However i am still getting 50mb upload limit. I sent them an email again about this and i hope they can resolve this.

    By the way Michael, i don’t have a Cpanel since i am using cloud hosting. I will try your solution if Netregistry can’t resolve this issue.

    Thank you for taking the time to help me.

    Hmmmm . . . that is odd since I got that information off of the Netregistry website. Hopefully they can get it resolved for you.

    Cheers,

    Michael

    Hey guys, I’m having the same problem. I’m on a VPS with BlueHost & they have just increased my php.ini for me but in my WP dashboard > upload new media it still says max upload size is 10MB.

    Any ideas?

    @robbie Gee: It is impolite to interrupt another poster’s ongoing thread with a question of your own. It causes significant problems for the forum’s volunteers and prevents us from being able to track issues by topic. Please post your own topic.

    Thread Starter hamiltino

    (@hamiltino)

    Ok my web hosts couldn’t figure it out so i found a workaround.

    I uploaded the files via ftp to the folder where the media gets uploaded to (in my case: /wp-content/uploads/2013/09)

    Downloaded the Add to Server plugin which allows you to import the files from the uploads folder to my wordpress media libary.

    Now i can use this method to upload files of any size.

    Hope this helps anyone with similar problems.

    hi i am looking for a similar answer and i may try hamiltino’s suggestion above.

    is this the plugin you mention? – https://dd32.id.au/wordpress-plugins/add-from-server/

    as – i dont not have access to a ‘cpanel’ – the hosting is sorted by someone else, and i only have my wordpress dashboard to go by. I need to increase the upload from 2MB up, as i have MP3 to upload and 2MB is way too small. i can’t go via a cpanel. so there must be another way. thanks, joan

    oh karsho, i will look at your timely the link you posted, 4 mins ago! thank you, joan

    cPanel File Manager
    Maximum file size allowed for upload: ∞

    Please select files to upload to /home/vi******* i leave rest blank, but i was like no way, but on cpanel can direct upload to your hosting server home cos i hve alpha channel clips that are 250mb for 2.5 secs film time, so just a slideshow on video is 300 mb when i make em, but here can upload unlimited file size, now i am got my hosting site at godaddy.com great people too.

    Do this
    function upload_size_limit_filterw( $size ) {
    return 1536000*14;//Size in Kb
    }
    add_filter( ‘upload_size_limit’, ‘upload_size_limit_filterw’,12 );

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘How to increase media Upload file size limit?’ is closed to new replies.