• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

PHP 7 - APCu

Bogdan1

Regular Pleskian
Hello,

After install PHP 7, PHP-DEVEL, APCu. I have problem with APCu.
APC.PHP work ok, in phpinfo(); i see that APCu is enabled. But after check in php like this

PHP:
$bar = 'BAR';
apc_store('foo', $bar);
var_dump(apc_fetch('foo'));

I'm getting error 500 with this Warning in log:

2015-12-08 15:21:16 Error $CLIENT_IP 500 GET / HTTP/1.1
log-browser-client.png
218 Apache access
2015-12-08 15:21:16 Warning $CLIENT_IP mod_fcgid: stderr: PHP Fatal error: Uncaught Error: Call to undefined function apc_store() in /var/www/vhosts/domain.com/domain.com/index.php:4 Apache error
2015-12-08 15:21:16 Warning $CLIENT_IP mod_fcgid: stderr: Stack trace: Apache error
2015-12-08 15:21:16 Warning $CLIENT_IP mod_fcgid: stderr: #0 {main} Apache error
2015-12-08 15:21:16 Warning $CLIENT_IP mod_fcgid: stderr: thrown in /var/www/vhosts/domain.com/domain.com/index.php on line 4 Apache error

d47paWW.png


How can I fix that?

Thanks
 
Back
Top