Discover Centmin Mod today
Register Now

Install Does this server have less than <=2048MB of memory installed ? Question

Discussion in 'Centmin Mod Insights' started by nVidian, Mar 19, 2015.

  1. nVidian

    nVidian Member

    97
    8
    8
    Mar 16, 2015
    Ratings:
    +31
    Local Time:
    4:19 AM
    1.7.9
    5.5
    Hi, what are centminmod installation/upgrade process do in "Does this server have less than <=2048MB of memory installed ?" question ? What if I answer 'yes' and what it do if I answer 'no' ?

    The reason why I ask this is if in the future I upgrade my VPS to above 2Gb RAM, what should I do to optimize the server without having to reinstall everything.

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    7:19 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    the question relates to Centmin Mod script determining the default PHP settings for. If you have <2048MB memory, then PHP optimal settings account for that. If you have >2048MB memory, PHP default settings have higher values for memory related settings for better overall performance. In .08 beta 02 onwards, this prompt is removed as the script auto calculates how much memory your server has so no more prompts !. Change in .08 beta02 is at lines 174-179 of inc/php_upgrade.inc