What is the highest PHP Post Size, PHP Upload Size, and PHP Memory Size suggested?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • David Copeland
    Senior Member
    • May 2000
    • 1354
    • 4.2.5

    [Forum] What is the highest PHP Post Size, PHP Upload Size, and PHP Memory Size suggested?

    I had posted something similar to this question in another thread, but some of the responder posts have disappeared.

    I have contacted my web host provider, and they have increased my of:

    PHP Post Size to 20.00 MB
    PHP Upload Size to 4.00 MB
    PHP Memory Limit to 128.00 MB

    What does VBulletin recommend for Ver 4.2? I ask this because my host indicated there might be some vulnerability to going over the preferred limits.

    (And to other members, what do you have your settings at?)

    Thanks,

    David

    DAVID COPELAND
    Licensed VB Holder Since 2000
    Celebrating 22 Years with VB
  • David Copeland
    Senior Member
    • May 2000
    • 1354
    • 4.2.5

    #2
    I would still like to get feedback on this.

    In the meantime, our host has increased the resources to the following:

    PHP Post Size to 200.00 MB
    P
    HP Upload Size to 100.00 MB
    P
    HP Memory Limit to 512.00 MB
    M
    ySQL Packet Size to 32.00 MB



    DAVID COPELAND
    Licensed VB Holder Since 2000
    Celebrating 22 Years with VB

    Comment

    • Zachery
      Former vBulletin Support
      • Jul 2002
      • 59097

      #3
      What are you trying to do that you think you need these higher limits?

      Comment

      • Alfa1
        Senior Member
        • Dec 2005
        • 4165
        • 3.8.x

        #4
        Why on earth would you want to increase your post_max_size to 200MB and upload_max_filesize to 100mb? I would keep those low if you can. If you allow users to post or upload massive sizes then its easier to take your site down.
        Memory limit of 128 can be low. I needed more for my big board. It depends on your site. 512 is steep for most sites.
        I buy 420 forums

        Comment

        • Wayne Luke
          vBulletin Technical Support Lead
          • Aug 2000
          • 74118

          #5
          For maximums...
          PHP Post size should be 16 MB + Largest attachment Allowed in vBulletin. Attachments shouldn't really be larger than 4-8 Megabytes for performance reasons. Use FTP for larger files.
          PHP Upload should be just over largest attachment allowed.
          If a dedicated server without resource problems, you can probably get away with setting memory to -1. However 512 MB should be sufficient.

          MySQL Packet size should be no larger than 17MB. You should store attachments in the file system.

          If you're trying to share 100 MB files, then you should upload them via FTP and link to them in posts. You shouldn't attach them.

          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud demonstration site.
          vBulletin 5 API

          Comment

          • David Copeland
            Senior Member
            • May 2000
            • 1354
            • 4.2.5

            #6
            Originally posted by Wayne Luke
            For maximums... PHP Post size should be 16 MB + Largest attachment Allowed in vBulletin. Attachments shouldn't really be larger than 4-8 Megabytes for performance reasons. Use FTP for larger files. PHP Upload should be just over largest attachment allowed. If a dedicated server without resource problems, you can probably get away with setting memory to -1. However 512 MB should be sufficient. MySQL Packet size should be no larger than 17MB. You should store attachments in the file system. If you're trying to share 100 MB files, then you should upload them via FTP and link to them in posts. You shouldn't attach them.
            What do you mean by memory at: -1 ?
            Is -1 the same as 1GB? If not, is -1 larger than 520MB ?


            We don't seem to resource limitations anymore since we moved to a new dedicated VPS, which costs us $120/mo.

            We also do not permit our members to upload, which should not be an issue with bringing the site down.

            We do not have that many Attachments to speak of.

            Since we have increased all of the resource items as I posted in this thread above, our page loads are quite a bit faster, and our mass emails are not much of a load on our server.

            Our forum stats are:

            Members 45,783
            Posts 504,742
            Threads 32,073


            DAVID COPELAND
            Licensed VB Holder Since 2000
            Celebrating 22 Years with VB

            Comment

            • Zachery
              Former vBulletin Support
              • Jul 2002
              • 59097

              #7
              We keep asking you what you want to do with these increased limits, otherwise there isn't a good reason to increase them.

              Comment

              • David Copeland
                Senior Member
                • May 2000
                • 1354
                • 4.2.5

                #8
                Originally posted by Zachery
                We keep asking you what you want to do with these increased limits, otherwise there isn't a good reason to increase them.
                Zack,

                I wrote the following in my last post: "Since we have increased all of the resource items as I posted in this thread above, our page loads are quite a bit faster, and our mass emails are not much of a load on our server."

                David

                DAVID COPELAND
                Licensed VB Holder Since 2000
                Celebrating 22 Years with VB

                Comment

                • Wayne Luke
                  vBulletin Technical Support Lead
                  • Aug 2000
                  • 74118

                  #9
                  -1 is no limit. as such it is very different than any limit.
                  Translations provided by Google.

                  Wayne Luke
                  The Rabid Badger - a vBulletin Cloud demonstration site.
                  vBulletin 5 API

                  Comment

                  • David Copeland
                    Senior Member
                    • May 2000
                    • 1354
                    • 4.2.5

                    #10
                    Wayne, perhaps you can help answer a question here:


                    DAVID COPELAND
                    Licensed VB Holder Since 2000
                    Celebrating 22 Years with VB

                    Comment

                    Related Topics

                    Collapse

                    Working...