PHP Questions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • raiderlax
    Senior Member
    • Sep 2006
    • 430
    • 3.6.x

    PHP Questions

    What is php maximum upload size cause I only have 2mb it say in the control panel and php maximum post size cause I only have 8mb for that.

    Is this good or bad? and if bad how do I make up it?
  • organik81
    Senior Member
    • Jan 2005
    • 265
    • 4.2.X

    #2
    Good or bad ; depends on your necessity ;

    Originally posted by Steve Machol
    In addition to the vB settings, the allowed size of the attachments depends on the PHP and MySQL configuration. You may need to check and change the upload size for both PHP and for MySQL. Note, you'll need to have root access to the server to do this (or have your host do it.) Make these changes to php.ini:

    upload_max_filesize = xM

    ..and my.cnf (or my.ini for Windows systems)

    set-variable=max_allowed_packet=xM

    Change it to the size ('x') you want in Megabytes. Restart the webserver and MySQL after making these changes.

    Also you might want to take a look at this for other settings that affect file uploads:

    http://www.vbulletin.com/forum/showp...0&postcount=12
    http://www.vbulletin.com/forum/showt...319#post748319

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...