aaPanel_Kern Hello, thanks for your response.
Here is the content of wp --info
OS: Linux 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Shell: /bin/bash
PHP binary: /www/server/php/81/bin/php
PHP version: 8.1.30
php.ini used: /www/server/php/81/etc/php-cli.ini
MySQL binary: /usr/bin/mysql
MySQL version: mysql Ver 15.1 Distrib 10.6.22-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper
SQL modes:
It seems the PHP CLI bin and version is different, not OLS's.
# /usr/local/lsws/lsphp81/bin/php -v
PHP 8.1.32 (cli) (built: Mar 14 2025 00:30:15) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.32, Copyright (c) Zend Technologies
with Zend OPcache v8.1.32, Copyright (c), by Zend Technologies
# /www/server/php/81/bin/php -v
PHP 8.1.30 (cli) (built: Sep 27 2024 09:15:32) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.30, Copyright (c) Zend Technologies