What should you do if you get warning/error below during installation:
"Warning: Your server have APC (Alternative PHP Cache) php module enabled. Please disable it before installation!"
Or
'Warning: Your server have opcache php module enabled. Please disable it before installation!'
Background for the issue.
We have noticed instability in cache operations related APC and Opcache modules. These are not default cache engines and we recommend to disable them before you install AbanteCart. This is set as requirement, but if you confident APC or Opcache will work well, you can disable this validation.
Solutions:A. Disable APC or Opcache
http://php.net/manual/en/apc.configuration.phphttp://serverfault.com/questions/334047/disable-or-remove-apcOR
http://php.net/manual/en/opcache.configuration.phphttp://stackoverflow.com/questions/21556437/disable-opcache-temporallyB. Disable validation check in the code:
Open file install/controller/pages/settings.php for edit
Locate lines 133:138 and delete them or comment out.
if (ini_get('opcache.enable')) {
$this->error['warning'] = 'Warning: Your server have opcache php module enabled. Please disable it before installation!';
}
if (ini_get('apc.enabled')) {
$this->error['warning'] = 'Warning: Your server have APC (Alternative PHP Cache) php module enabled. Please disable it before installation!';
}