Join the community 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

    Dec 4, 2016
    The Canadas
    Local Time:
    1:44 AM

    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.

  2. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    9:44 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    • Informative Informative x 1