Forum: Cfengine Help Subject: Find Variable in File, Check and Replace Author: xeno Link to topic: https://cfengine.com/forum/read.php?3,17826,17826#msg-17826
I would like CFEngine to search through php.ini and look at the memory_limit. If the memory_limit is less than 32M I would like CFEngine to change it to 35M. If it is greater or equal than 32M I would like it to leave it as it is. I have been told to just move the php.ini file from the server, but the only change we need in the php.ini is this one, so I would like to see if this is possible with CFEngine. Thanks! _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine