Тёмный

How to Deploy Laravel 8 project on cPanel || How to Upload Laravel Project on cPanel bangla tutorial 

sobujitpark
Подписаться 1,8 тыс.
Просмотров 6 тыс.
50% 1

How to laravel project Upload Or Deploy in cpanel bangla tutorial
If you're looking to upload a Laravel project to your cPanel, it's easier than you think. Follow these simple steps to get your project up and running in no time.
1. Log into your cPanel account.
2. Click on the File Manager icon.
3. Locate the folder in which you want to upload your Laravel project.
4. Click on the Upload button located at the top of the page.
5. Select the folder containing your Laravel project from your computer.
6. Click the Upload button to start the uploading process.
7. Once the upload is complete, locate the project folder in the cPanel file manager.
8. Click on the folder and select the “public” folder.
9.Setting up the index.php file
Navigate to the public folder on the laravel folder you created and highlight all the files in it and move them to the domain folder folder.
After moving the files, find the index.php file and click on edit. On this file, there are three lines we need to edit to link the index.php with our laravel blog project folder.
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
require $maintenance;
}
replace to
if (file_exists($maintenance = __DIR__.'/laravel-blog/storage/framework/maintenance.php')) {
require $maintenance;
}
require __DIR__.'/../vendor/autoload.php';
replace to
require __DIR__.'/laravel-blog/vendor/autoload.php';
$app = require_once __DIR__.'/../bootstrap/app.php';
replace to
$app = require_once __DIR__.'/laravel-blog/bootstrap/app.php';
9. Copy the URL of the “public” folder and paste it into your web browser to access the project.
You can now access your Laravel project from the cPanel. Keep in mind that any changes you make to the project locally will need to be uploaded to the cPanel in order for the changes to take effect.
Follow these steps to successfully upload a Laravel project to your cPanel account. Log into your cPanel, locate the folder in which you want to upload your project, click on the Upload button, select the project folder from your computer, and click the Upload button to start the process. Once finished, locate the project folder in the cPanel file manager, select the “public” folder, and copy the URL of the “public” folder to access the project. Make sure to upload any changes you make to the project in order for them to take effect.
cpanel laravel project subdomain,laravel porject upload in cpanel,laravel project upload to server,laravel project upload live server part,upload laravel project on subdomain cpanel,upload laravel project to hosting,uppload laravel project,uppload laravel project in bangla,cpanel upload laravel project,laravel project upload on c-panel,laravel upload project on cpanel,laravel on cpanel upload,upload laravel on cpenal,deploy laravel project to cpanel,deploy laravel to live server,host laravel project to cpanel,namecheap server laravel deployment,how to host laravel project to cpanel,how to upload laravel to cpanel,laravel to cpanel deployment,easy way to host laravel project,easy way to upload laravel to live cpanel,upload laravel on cpanel hosting,how to upload laravel to a server,laravel upload in cpanel,upload laravel project to server,deploy laravel to shared hosting the easy way,hosting laravel website,upload laravel project on cpanel,hosting laravel in cpanel,hosting laravel project,hosting laravel,laravel deploy,laravel shared hosting,laravel 8 tutorial
Facebook page:
/ sobujitpark
Facebook group:
/ sobujitpark

Наука

Опубликовано:

 

23 мар 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@foysalahmed9525
@foysalahmed9525 4 месяца назад
i developed a laravel project and i am using laravel 9. I follows yours steps but after uploading i got 403 forbidden error! How can i solve this error? help me.
@babulakter9209
@babulakter9209 Год назад
zazak Allah
@sobujitpark
@sobujitpark Год назад
shukran
@user-nf7wl6me1p
@user-nf7wl6me1p 5 месяцев назад
laravel api upload kivabe korte hoi?
@rezwansaki
@rezwansaki Год назад
অসংখ্য ধন্যবাদ। সুন্দর ও সহজ করে বুঝিয়েছেন। আচ্ছা এমন কি করা যায়, public ফোল্ডার যেমন থাকবে তেমনি থাকবে কিন্তু .htaccess ফাইল ব্যাবহার করে কল করা হবে? প্রজেক্ট যেমন আছে তেমনই থাকবে।
@sobujitpark
@sobujitpark Год назад
হ্যাঁ index.php এবং .htaccess ফাইল বাহিরে নিয়ে প্রোজেক্ট লাইভ করতে পারবেন। সেক্ষেত্রে Move the index.php and .htaccess files from the project public folder to the project root directory.Move the index.php and .htaccess files from the project public folder to the project root directory. Open the index.php file and change to “require _DIR_.‘/vendor/autoload.php’;” and line “$app = require_once _DIR_.‘/bootstrap/app.php’;” . and added the public word CSS, JS, or image file is linked. For Example, asset(‘css/style.css’) will change an asset(‘public/css/style.css’)
@rezwansaki
@rezwansaki Год назад
@@sobujitpark thank you so much 💞
@tannipatwori6140
@tannipatwori6140 Год назад
Thanks viya onek sundor Kore bujaisen but Amer akta problem hosse project upload Kore extract korer por .env file ta ashtese na ki korbo Akon aktu bolle valo hoto
@sobujitpark
@sobujitpark Год назад
Apanar cpanel theke show the hidden file select kore save kore den.Tahole .env file dekhte parben vai.Plz Follows the instruction , See the Settings in the upper right corner cpanel. And click the setting and see the box for Show hidden files and select the Show hidden files and Save. Thanks
@tannipatwori6140
@tannipatwori6140 Год назад
@@sobujitpark tanks viya
@nbentertainment8070
@nbentertainment8070 Год назад
আপনার এই ফাইল গুলা পেতে পারি ?
@tannipatwori6140
@tannipatwori6140 Год назад
Cpanel e project upload korer por class "pdo" not found ai error ta asce how can I solve please help
@sobujitpark
@sobujitpark Год назад
step :1 make sure you set the php.ini to be recursive. Just add suPHP_ConfigPath /home//public_html step:2 creating php.ini file in your hosting root. These are the extensions you need to enable in php.ini if you are in windows hosting. extension=php_pdo.dll extension=php_pdo_mysql.dll Finally not slove the problem.I recommend consulting with your web hosting provider to see if they can ensure that PDO is enabled. Thank you.
Далее
What is cPanel? A Beginner’s Guide to cPanel
13:52
Просмотров 66 тыс.
How to upload Laravel 8 Website to Shared Hosting
14:13
🤔Почему Samsung ПОМОГАЕТ Apple?
0:48
Просмотров 163 тыс.
Samsung or iPhone
0:19
Просмотров 7 млн
Samsung or iPhone
0:19
Просмотров 7 млн