Issue Bug Closed

#56554OpCache XCACHE cannot be cleared if xcache.admin.enable_auth is set

Ernesto Baschny 03/04/14, 21:15 updated 10/23/17, 21:40

Description

Error:

Fatal error: xcache_clear_cache(): xcache.admin.user and/or xcache.admin.pass settings is not configured. Make sure you've modified the correct php ini file for your php used in webserver. in /var/www/git/master/typo3/sysext/core/Classes/Utility/OpcodeCacheUtility.php on line 123
[21:02:00] Christian Kuhn: calling install toll on fresh instance

Solution is to check for xcache.admin.enable_auth.

References in other projects:

https://github.com/owncloud/core/blob/master/lib/private/util.php#L1103
https://github.com/sugarcrm/sugarcrm_dev/blob/master/include/SugarCache/SugarCache.php#L124

We then should add a hint in the install tool about this.

Reviews 1