Closed jmontoyaa closed 1 year ago
So memcache_server will be removed? And using memcache_server configuration is only in the php.ini then?
@22phuber Not really, you can configure that setting in your Apache vhost (or the php-fpm config for your pool if using nginx). Do you actually use the memcache_server setting from Chamilo?
@ywarnier Well i configured it at least. But i never checked if it does what it should:
$_configuration['memcache_server'] = array(
0 => array(
'host' => getenv('MEMCACHED_HOSTNAME'),
'port' => '11211',
)
);
I also configured memcache inside the php.ini
session.save_handler = "memcached"
session.save_path = "MEMCACHED_HOSTNAME:11211"
I can see values in memcached so i thought that it is working properly.
Note so self: make a list of settings in configuration.php to either .env or the database. Each has to be analysed.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The DB settings are now in .env file. We will still use configuration.php for the rest of settings, we can move this issue to v3
Hi @ywarnier , it is moved settings from configuration.php to database and .env in this PR https://github.com/chamilo/chamilo-lms/pull/4613
Thanks for confirmation.
Specifications by @ywarnier:
There are chances this requires more than 100h of work because there are currently 497 settings in configuration.dist.php (
cat main/install/configuration.dist.php | grep \$_configuration | wc
).Status
Settings removed:
Settings moved to .env
Settings moved in the Database