php.ini upload settings

Posted on 2004-11-24
Last Modified: 2010-08-05
Besides these php.ini settinga

What other settings in the php.ini file would you recommend for uploading files larger than 1MB to a MySQL database ?
What about timeout settings, persistent links ?
I am getting a MySQL server has gone away message and I want to make sure everything is setup on the PHP side before asking the Experts about more MySQL settings. I am new to sysntax so if you can give me some good examples.
Question by:mhoggatt1
    1 Comment
    LVL 15

    Accepted Solution

    'post_max_filesize'  is incorrect. it should be  'post_max_size'
        The value you set here should be larger than the value given for 'upload_max_filesize'

    also you may need to set  'memory_limit'  to an even larger value.

    Wht do you keep asking questions afbout the scripting language PHP in the topic area for the database MySQL ?

    regards JakobA

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    More Fun with XML and MySQL – Parsing Delimited String with a Single SQL Statement Are you ready for another of my SQL tidbits?  Hopefully so, as in this adventure, I will be covering a topic that comes up a lot which is parsing a comma (or other…
    I use MySQL for many of my development projects in a Windows environment. To manage my databases (and perform queries) for years I used a tool called MySQL administrator.  This tool has since been replaced by MySQL Workbench. So I decided to m…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now