The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

php max upload size

Discussion in 'General Discussion' started by dragon2611, Dec 15, 2007.

  1. dragon2611

    dragon2611 Well-Known Member

    Joined:
    Nov 30, 2003
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
    According to php info my php.ini is at

    /usr/local/lib
    Loaded Configuration File /usr/local/lib/php.ini


    I've edited this to put the upload size to 20mb but it still at 2mb dispite me restarting php to apply the changes.


    ; Maximum allowed size for uploaded files.
    upload_max_filesize = 20M

    Why is it ingoring the main php.ini file :mad:
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,448
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Have you tried the PHP config editor in WHM? (Under Service Configuration section)
     
  3. dragon2611

    dragon2611 Well-Known Member

    Joined:
    Nov 30, 2003
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
    I hadn't but I just tried it and it's set to 20M there so It seems for some reason PHP is ignoring its config file... wander if theres some bad syntax in there somewhere.
     
Loading...

Share This Page