Hello tyrro
How is going?
Actually, I am quite confused by the Php version that wordpress is running on, because the information are quite different by different methods:
1# php --version
it will show as below:
root@TAO:~# php --version
PHP 8.1.5 (cli) (built: Apr 21 2022 10:14:45) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.5, Copyright (c) Zend Technologies
with Zend OPcache v8.1.5, Copyright (c), by Zend Technologies
2# if check by the plugin at https://wordpress.org/plugins/wp-serverinfo/
It show:
`General
PHP
v8.0.18
GD: 2.3.0
Memory Limit: 2.5 GiB
Max Script Execute Time: 300s
Max Post Size: 100.0 MiB
Max Upload Size: 100.0 MiB
MYSQL
so, one show it is PHP8.1.5, but another one is PHP8.0.18.
There are two php.ini files, /etc/php/8.1/fpm/php.ini, and nano /etc/php/8.0/fpm/php.ini, which one should I touch please?
Thanks