- Fill in your credentials inside db_cred.php file. Read the comments in the file.
- In your terminal modify the permissions of the file:
chmod 600 db_cred.php
- In general, all your php files should has the same permissions
- The included .htaccess file should prevent credential leakage.