龙蜥(Anolis) 编译PHP-8.1.22提示No supported shared memory caching support was found when configuring opcac
使用龙蜥(Anolis)编译安装php8
1、php-8安装步骤可参考:
https://blog.csdn.net/zzz1502/article/details/120157436
2、检查配置中会提示
configure: error: No supported shared memory caching support was found when configuring opcache. Check config.log for any errors or missing dependencies.
解决方法:
在进行配置检查的时候,增加 --disable-opcache 可以解决
./configure --disable-opcache
拓展------Zend OPcache
PHP 5.5 之后的版本,此扩展默认为启用,编译时可通过下列选项禁用:−−disable-opcache
Disable Zend OPcache support