• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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