• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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