How to configure database connection file on php site type?

hi guys,

I can’t connect with database using mysqli_connect function with the “site info” datas.

is a php site type with database … someone can help me ?

Have you created site with --with-db?

ee site create example.com --type=php --with-db

Ref: https://easyengine.io/commands/site/create/#options-2