It looks like you are using this installation check outside of aMediaWiki 1.31 installation.
Probably some checks will fail.

Checking PHP version

PHP version is 8.3.28 ..... WARNING! You should use version 7.3 for full compatibility.

PHP configuration file

The used php.ini file is /etc/php.ini

Checking PHP extensions

Checking: curl ..... OK
Checking: gd ..... FAILED!
Checking: intl ..... WARNING! This extension is needed if you want to use internationalization.
Checking: json ..... OK
Checking: ldap ..... WARNING! This extension is needed if you want to connect to an ldap directory.
Checking: mbstring ..... OK
Checking: mysqli ..... OK
Checking: pcre ..... OK
Checking: tidy ..... WARNING! This extension is needed if you want to use the universal export module.
Checking: xsl ..... OK
Checking: zip ..... OK
Checking: Zend OPcache ..... OK

Checking PHP file upload

WARNING! ..... File upload is enabled but upload_tmp_dir is not set. Make sure your system's temp dir is writable by the web server.

Checking PHP session save path

OK ..... session.save_path (/var/lib/php/session) is writable.

Checking PHP ini values