To those receiveing the Opcache Operator error with xCache:
Quote:
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
|
This might happen if you are using SuPHP as your PHP handler instead of DSO (mod_php) or FastCGI.
If you don't know what your PHP handler is but you have ssh access, you can run this command if you have cPanel (or just ask your host):
Code:
/usr/local/cpanel/bin/rebuild_phpconf --current
And this will be the output (if you're SuPHP is your handler):
Code:
Available handlers: suphp dso cgi none
DEFAULT PHP: 5
PHP4 SAPI: suphp (or cgi)
PHP5 SAPI: suphp
SUEXEC: enabled
If DSO is your PHP handler, you'll see something like:
Code:
Available handlers: suphp dso cgi none
DEFAULT PHP: 5
PHP4 SAPI: cgi
PHP5 SAPI: dso
SUEXEC: enabled
Why does SuPHP produce this error?
PHP optcode caching doesn't work 100% with SuPHP because SuPHP doesn't use a shared user when processing PHP files.
I'd definitely talk to your webhost before making any changes or get an individual opinion on your particular configuration. FastCGI on the limited resources (like limited cloud hosting) many forum owners are hosted on will usually outperform even DSO with an accelerator.