我目前正在开发一个使用Lumen 5.4. 我正在尝试在本地运行它XAMPP for Linux 7.4.3。但我不断收到以下错误,
lumen.ERROR:
Symfony\Component\Debug\Exception\FatalThrowableError:
Call to undefined function xxx\Prometheus\Storage\apcu_add() in
/opt/lampp/htdocs/xxx-api/vendor/xxx/php-prometheus-exporter/src/Storage/APCU.php:78
当前的 PHP 版本是7.4.3. 我已经安装apcu并apcu_bc添加了以下内容php.ini,
extension=apc.so
apc.enabled="1"
但我apc在页面中没有看到任何相关信息phpinfo.php。
任何帮助表示赞赏。