Bug 4140 - 20230221 nightly测试执行`php -v`有warning信息
Summary: 20230221 nightly测试执行`php -v`有warning信息
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: Others (show other bugs) Others
Version: 23.0
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: 扣肉
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-21 21:46 UTC by xuchunmei
Modified: 2023-02-22 14:43 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xuchunmei alibaba_cloud_group 2023-02-21 21:46:45 UTC
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:
Comment 1 xuchunmei alibaba_cloud_group 2023-02-22 14:43:39 UTC
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