Description of problem: Version-Release number of selected component (if applicable): php-8.2.3-1.an23.x86_64 How reproducible: 测试repo地址:https://mirrors.openanolis.cn/anolis/23/Nightly/ Steps to Reproduce: 1.dnf install php 2.php 3. Actual results: # php -v PHP Warning: PHP Startup: Invalid library (appears to be a Zend Extension, try loading using zend_extension=opcache from php.ini) in Unknown on line 0 PHP 8.2.3 (cli) (built: Feb 14 2023 01:06:39) (NTS gcc x86_64) Copyright (c) The PHP Group Zend Engine v4.2.3, Copyright (c) Zend Technologies Expected results: 老版本不会有warning: # php -v PHP 8.1.9 (cli) (built: Aug 2 2022 13:02:24) (NTS gcc x86_64) Copyright (c) The PHP Group Zend Engine v4.1.9, Copyright (c) Zend Technologies with Zend OPcache v8.1.9, Copyright (c), by Zend Technologies Additional info:
php-8.2.3-2.an23 版本已修复。 # php -v PHP 8.2.3 (cli) (built: Feb 14 2023 01:06:39) (NTS gcc x86_64) Copyright (c) The PHP Group Zend Engine v4.2.3, Copyright (c) Zend Technologies with Zend OPcache v8.2.3, Copyright (c), by Zend Technologies 修复pr:https://gitee.com/src-anolis-os/php/pulls/25