[PHP] php8的jit不支持32位系统WARNING: JIT not supported by host architecture

php8的jit需要在编译opcache扩展的时候进行手动开启

比如我php8源码目录在此:

/home/ubuntu/myphp/php-8.0.0alpha1/ext/opcache

执行

./configure  --enable-opcache-jit   --with-php-config=/usr/local/php8/bin/php-config

会出现warning

WARNING: JIT not supported by host architecture

查看configuer脚本

 x86_64的才可以 , 其他的都是会检测不过

猜你喜欢

转载自www.cnblogs.com/taoshihan/p/13202797.html
JIT