Learn about Centmin Mod LEMP Stack 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

    85
    8
    8
    Mar 16, 2015
    Ratings:
    +23
    Local Time:
    10:09 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

    31,022
    6,925
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,431
    Local Time:
    1:09 PM
    Nginx 1.13.x
    MariaDB 5.5
    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
     
    • Like Like x 1