joeycoleman I'm not sure why you're seeing that problem. I've checked the PHP versions on your server and everything appears to be correct:
[root@xxxxx ~]# /usr/bin/php82 --version
PHP 8.2.20 (cli) (built: Jun 4 2024 13:22:51) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.2.20, Copyright (c) Zend Technologies
with Zend OPcache v8.2.20, Copyright (c), by Zend Technologies
[root@xxxxx ~]# /usr/bin/php83 --version
PHP 8.3.8 (cli) (built: Jun 4 2024 14:53:17) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.3.8, Copyright (c) Zend Technologies
with Zend OPcache v8.3.8, Copyright (c), by Zend Technologies
If your update.php
script is reporting the wrong PHP version after being invoked with the correct version of PHP then that's probably a problem with the version detection function in the script.
I'm curious: what happens if you run it like this?
/usr/bin/scl enable php83 -- php /home/DIR-to-APP/update.php --feeds
(scl
enables "software collections" as a way to provide different versions of default software. In this case /usr/bin/scl enable php83
makes v8.3 the default PHP for the command that follows it.)