While using Composer, I suddenly realized that the package required a higher version of PHP, so I looked up some information.
Since I am using the Pagoda Panel, the specific modifications are as follows:
Login Terminal
Check the current version of Composer being used.
ls -l /usr/bin/php
The returned result indicates version 7.2.
lrwxrwxrwx 1 root root 26 10月 18 2021 /usr/bin/php -> /www/server/php/72/bin/php
Updated to version 7.4
ln -sf /www/server/php/74/bin/php /usr/bin/php
View modification results
ls -l /usr/bin/php
Return result:
/usr/bin/php -> /www/server/php/74/bin/php
This has been updated to PHP 7.4.
With attached image
