problem preconfiguring w3
-
I have been trying to preinstall this plugin in a docker container and preloading some variables on which redis server to use, but i just cannot get it to work.
the following lines are
define( ‘W3TC_CONFIG_CACHE_ENGINE’, ‘redis’);
define( ‘W3TC_CONFIG_CACHE_REDIS_SERVERS’, ‘127.0.0.1:6379’ );
define( ‘W3TC_CONFIG_CACHE_REDIS_PERSISTENT’, true );
define( ‘W3TC_CONFIG_CACHE_REDIS_DBID’, 0 );
define( ‘W3TC_CONFIG_CACHE_REDIS_PASSWORD’, ” );I have used the extra configs in docker, manually edited the wp-config.php, ive even tried the db-config.php in the folder /wp-content/plugins/w3-total-cache/ini/
But nothing seems to change the default values when i activate the plugin…
The only place that seems to have some effect is the file wp-content/w3tc-config/master.php but it seems like its generated first after the plugin is installed.
Could someone please help me, this is driving me nuts!
Thanks!
- The topic ‘problem preconfiguring w3’ is closed to new replies.