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
I'm getting error 500 with this Warning in log:
How can I fix that?
Thanks
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
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
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
How can I fix that?
Thanks