Native PHP project based on database course.
<?php
putenv("DB_DRIVER=mysql");
putenv("DB_HOST=localhost");
putenv("DB_NAME=college_portal");
putenv("DB_USERNAME=root");
putenv("DB_PASSWORD=root"); ?>
you need to change any variables that related to your machine config.