How to Set Memache IP and Port Programmatically?
-
I am using AWS with Load Balancing and want to use your plugin. The issue is that my Memcache server IP may change periodically. I do have access to the IP through ENV Vars. Is there a way I can set the IP and over-ride the config settings.
I see that I can set the IP in /w3tc-config/master.php. However, that file gets overwritten anytime someone goes in the Admin Panel and makes changes.
At the very least it would be nice to lock the config files so an Admin can’t go in and change the settings. Something like ‘lock.admin.changes’ => true
This would not allow any changes in the Admin panel and show a warning stating “Changes to this Plugin have been locked. You would need to edit the config file to allow changes.”
- The topic ‘How to Set Memache IP and Port Programmatically?’ is closed to new replies.