• strawberrycocoa

    (@strawberrycocoa)


    I am running WordPress on my website, https://www.selkiecomic.com, with Comicpress and Marketpress themes added in. I am trying to upload a 14mb ebook as a Marketpress product, but encountering an issue where the max file size for uploads is capped at 8mb.

    A Google search showed threads here on WordPress support suggesting altering the php.ini file manually, or having the webhost adjust it on their end. According to my webhost my website’s cap is actually 20mb on their end, and I looked through my website’s files but can find no trace of a php.ini file to adjust.

    Anyone know how I can alter WordPress’s max file size for uploads? I don’t see any settings for it in the menus either.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator cubecolour

    (@numeeja)

    if you do not have a php.ini already, create one

    Thread Starter strawberrycocoa

    (@strawberrycocoa)

    I’m not sure how or what information needs to be in it. Just notepad, name it php.ini, and add the max file size information?

    Moderator cubecolour

    (@numeeja)

    yes, that sounds about right. Then just FTP it into the folder where WordPress lives

    Thread Starter strawberrycocoa

    (@strawberrycocoa)

    Okay, thank you for the info

    Thread Starter strawberrycocoa

    (@strawberrycocoa)

    Hmm, not sure I did it right. Is the website root folder the place, or WP-Admin folder? Or somewhere else?

    Pioneer Web Design

    (@swansonphotos)

    Consult your web host on the best manner for this, many control this at server level and deny access to setting server env var’s.

    Thread Starter strawberrycocoa

    (@strawberrycocoa)

    I contacted my webhost, according to their end I have a 20mb cap. Only the wordpress uploads give me an 8mb cap.

    Clayton James

    (@claytonjames)

    I contacted my webhost, according to their end I have a 20mb cap

    Would it be advantageous to also ask them to direct you to instructions for their preferred method of changing your limit? Most hosting companies usually have FAQ’s or user knowledge bases that can many times lead to a tutorial.

    I’m thinking (but not positive) that you might be hosted with iWeb? If that’s correct, see if this information has anything in common with your current hosting plan and control panel options. https://kb.iweb.com/entries/20965008-Securing-PHP-through-WHM

    My apologies in advance if you aren’t actually hosted at iWeb… I took a shot. ??

    Pioneer Web Design

    (@swansonphotos)

    Then create, as noted above and in this forum a php.ini or php5.ini file properly and upload..this file is at the root of your web host account..

    The top of yours may look like this:

    register_globals = off
    allow_url_fopen = off
    expose_php = Off
    max_input_time = 60
    max_execution_time = 120
    file_uploads = on
    upload_max_filesize = 64M
    
    ;above line matters
    
    post_max_size = 64m
    variables_order = "EGPCS"
    extension_dir = ./
    upload_tmp_dir = /tmp
    precision = 12
    zlib.output_compression = off
    memory_limit = 256M

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘I need to increase my Max File Size for Uploads’ is closed to new replies.