Forums

Shared Hosting Upload Limitations php 5 (4 posts)

  1. voltaicass
    Member
    Posted 2 years ago #

    I've been told by my hosting company that my file upload limitations are as thus-

    upload_max_filesize = 20M

    memory_limit = 40M

    post_max_size = 8M

    We mainly upload pictures for our posts through this method but only occasionally. As it is, we still already have around 12 MB of files in our upload folder. I just need someone to confirm this for me, but would that mean that we only have 28 MB of uploads left?

    I'm trying to determine if I can actually go over that amount. We've also go another folder that I ftp most of our pictures to and just reference them there. However, I've noticed that when I try to use the pictures as thumbnails (from a setting within our them), they never work properly. Any help would be appreciated it.

  2. de1337er
    Member
    Posted 2 years ago #

    No, it means that the maximum filesize (of ONE file) can only be 20mb. A 20mb picture file would be quite large in dimensions or have many (likely vector) layers in the case of a Photoshop file. Either way most people will never have to load a 20mb image file via web.

    "memory_limit = 40M" is how much memory is allocated to your account. This is what you should watch for as WordPress is a resource hog - especially when you start adding a lot of plugins. I recommend installing the TPC! WordPress Memory Plugin as it keeps track of memory usage.

    I'm not too sure what "post_max_size = 8M" is. I can only guess it's a maximum 8mb submission to the server through PHP.

  3. voltaicass
    Member
    Posted 2 years ago #

    I think you're right. But basically my issue is resolved if I can upload more than 40MB of pictures using to the wp-content/upload folder, as long as a picture/file doesn't exceed 20MB in size, if that's what you're telling me. Am I correct?

    Thanks for the reply btw.

  4. Mark / t31os
    Moderator
    Posted 2 years ago #

    The size restriction is for single uploads, it's not your total file space.

    The actual space you have for storage is dependant on the package you purchased from your host, usually referred to as storage space or disk space (you can proberly see this from the hosts control panel).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.