How to Deploy Laravel Project on cPanel | How to Upload Laravel Project on Live Server 2022

preview_player
Показать описание
Hello Guys in This Video You Will Learn How To Deploy Laravel Project to cPanel. You Have to Upload Your Project to Live Server if You Want to Make Your Project Live to World.

Follow All Steps to Make Live Your Laravel Project
1. Go to xampp/htdocs Folder
2. Compress Project in Zipped File
3. Open cPanel
4. Click on File Manager
5. Paste Project into public_html folder
6. Extract Project
7. Open Folder and Select All Files
8. Move All Files to Root Folder public_html
9. Go Back to Cpanel
10. Select MySQL Database
11. Create New Database
12. Create new user For Database
13. Assign User to Database
14. Go to localhost/phpMyAdmin on your computer
15. Select Project Database
16. Export Database
17. Now Go Back to cPanel and Select PhpMyAdmin
18. Select Newly Created Database
19. Import Downloaded Database into it.
20. Go To cPanel File Manager and Open Public_html
21. Edit .env File in it
22. Mention Database Name , Username and Password
23. Test Your Website.
24 if Not Working Then Create .htaccess File in public_html folder
25. RewriteEngine on
RewriteCond %{REQUEST_URI} !public/
RewriteRule (.*) /public/$1 [L]
26. Copy This Text and Paste it into .htaccess File
27. Test Live Url Again

Related Videos
=====================================
Install Laravel 9 in Windows | Laravel 9 Tutorial | Laravel Installation Tutorial |

Laravel 9 REST API 2022 | Custom Api to Insert Data into Database 2022 | Laravel 9 Tutorial
Рекомендации по теме
Комментарии
Автор

thank you really clean and short video (so usefull for the title)

leosaad
Автор

Great Job
I watched a video deploying code on another channel but not clear
in your video everything is clear.
Thanks

Laravel_Tree
Автор

Hello! Good tutorial, but i have a question: doing it this way doesn't expose sensitive files to the user's reach?

west
Автор

In my case public_html is not empty I have a lot of files, can you help me what should I do?

NikolaDjordjevic-dsvn
Автор

Thanks so much
What about the domain name how we can make it to the website

omeromer
Автор

how to solve sqlstate error about migration on cpanel i cant use terminal on cpanel

mgsantanaofficiel
Автор

Please, create a new video on how to set up cron job and queue processing on Cpanel.

fosterasante
Автор

If I make new migration on my development machine, how do I add that database table to the production database?

fosterasante
Автор

Why you didn’t change a HOST name in .env file. You left the old name for localhost? Thanks.

lukagluscevic
Автор

i have this error :
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0".

tmrgojp
Автор

I want you to help me install a laravel pos on my cpanel

thenewsmargstv
Автор

i tried this in laravel10 but end up having this error
Failed to open stream: No such file or directory

theouterspace