Hello, if you cannot use php8.1 and php7.4 is available, it is recommended that you use php7.4
You can also check from View phpinfo() that the relevant extension has been successfully displayed, indicating that the installation was successful.
ianasystems