Skip to content

Conversation

@IrAlfred
Copy link
Member

Related issue: #555

$environment->load();

/* check dependencies */
$environment->check_dependencies();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do this in config_gen or something that sets up the site rather than on each and every web request.

'openssl' => 'openssl (required for encryption and secure connections)',
'session' => 'session (required for session management)',
'xml' => 'XML (required for HTMLPurifier, Gmail contacts, CardDAV, and feeds)',
'dom' => 'DOM (required for HTMLPurifier and XML processing)',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure we are using all of those extensions?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They may change depending on which modules are activated. Let me investigate more deeply

if (!class_exists('Redis')) {
Hm_Debug::add('Optional PHP extension missing: redis - Redis caching or sessions will not work', 'warning');
}
if (!class_exists('Memcached')) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of these are false-positive warnings. It might be worth checking the actually enabled modules and session config to see if these modules would cause conflicts or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants