I am a beginner in php programming and now I'm learning how to program using Laravel framework ....
Learning going well, but when I tried to find a good tutorial on how to set Laravel code on cPanel ... I failed ...
some recommendation ??
Follow these steps to set Laravel code on cPanel.
1. Create a domain or subdomain on your cPanel account
2. Create a MySQL database and user
3. Upload your Laravel files to the directory where you want your website to be located
4. Create a new database user and assign it to the newly created database
5. Open the file '.env' in the root of your Laravel project and make the following changes: - Set the DB_HOST to the hostname of your cPanel account - Set the DB_DATABASE to the name of your database - Set the DB_USERNAME to the username of your database user - Set the DB_PASSWORD to the password of your database user
6. Open your web browser and type in the address of your website
7. Your Laravel application should now be running on your cPanel account.