Discover Centmin Mod today
Register Now

Sysadmin Php.ini changes, some values seem to either not update or are "maxed"

Discussion in 'System Administration' started by SFLC, Feb 7, 2017.

  1. SFLC

    SFLC Active Member

    224
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    3:55 AM
    1
    10
    Hello,

    Does anyone know if theres any accuracy to the phpinfo() file,

    I set my post_max_size and upload_max_filesize to 10G, didnt work, on the phpinfo page it say 800M, then I though maybe it has issues with the G, so I just put on 10240M, and same thing, still says 800M

    then I ran php -i and in the dump, 800M was there.

    I gonna see if I can try to upload a 1000Gb file through php as an experiment.

    Does centmin handle php.ini differently or do these settings need to be changed elsewhere

    whats strange is that it accepted other values like 20000 for max_file_uploads and -1 for max_input_time.

    And yes I was restarting the whole server between modifications tries to php.ini

    I'm hoping this is just a phpinfo issue and the real values are as per what I put in php.ini. Im using php 5.3.9, I had to downgrade and 1 of my sites started falling apart with things not working all over the place.

    thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,758
    Local Time:
    11:55 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Informative Informative x 1