Want to subscribe to topics you're interested in?
Become a Member

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

    Mar 16, 2015
    Local Time:
    10:13 PM
    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

    May 24, 2014
    Brisbane, Australia
    Local Time:
    1:13 AM
    Nginx 1.25.x
    MariaDB 10.x
    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