Zend certified PHP/Magento developer

Error on Setup:install new store 2.4.5

I’m trying to install a new magento 2.4.5 store by CLI using this command:

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition:2.4.5

Ok this install correctly, but when i run the setup:install command, it returns this error:

enter image description here

The same error happens when i run “php bin/magento cache:flush” and others commands. What could it be? any help is appreciated.

setup:install command:

bin/magento setup:install --base-url=http://loja245.local --base-url-secure=https://loja245.local --db-host=127.0.0.1 --db-name=magento --db-user=user --db-password=pass --admin-firstname=admin --admin-lastname=admin --admin-email=user@email.com --admin-user=user --admin-password=pass --language=pt_BR --currency=BRL --timezone=America/Sao_Paulo --use-rewrites=1 --search-engine=elasticsearch7 --elasticsearch-host=192.168.4.108 --elasticsearch-port=9200

I’m using PHP 8.1, MariaDB 10.4, mysql 8.0. Just like the adobe system requirements says.