Laravel programing

samrakucanica

New member
Registered
Joined
Feb 7, 2017
Messages
1
Points
0
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 ??
 

bagerze

New member
Registered
Joined
Feb 7, 2017
Messages
7
Points
0
Hello,

Laravel is the best PHP framework. Go ahead and good luck in learning...

However, I know from my experience that you must have SSH access to install Laravel on Cpanel.

Here you have a good video that explains how to set Laravel project on Cpanel

[video=youtube;DsgWKuGk3yM]https://www.youtube.com/watch?v=DsgWKuGk3yM[/video]

Good luck
 

Examar

Member
Registered
Joined
Feb 2, 2017
Messages
17
Points
0

energizedit

Well-known member
Registered
Joined
Dec 13, 2016
Messages
259
Points
18
Sam, if you mean you don't know how to put your code on a cpanel hosting account, you would just put your php files/framework in the public_html directory. Beyond that it should just work, unless there are some other requirements to make Laravel to work.
 

iamgaurav

New member
Registered
Joined
Mar 4, 2017
Messages
13
Points
0
Laravel is one of the best frameworks available for PHP however, setting it up on cPanel at times is a bit of pain.

You will require SSH as well as need to install Composer for the remaining Laravel dependencies. Personally, I would suggest you start off with a small VPS ( DigitalOcean or Linode ) with Laravel since in the long term you will almost entirely end up using a bare server for your projects with Laravel.
 

myvirtualst1008

Member
Registered
Joined
Jun 2, 2017
Messages
15
Points
0
Laravel programming is the best programming in these days . An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative PHP tutorials around the Web.
 

tom.hardy

New member
Registered
Joined
Dec 10, 2020
Messages
3
Points
1
Why CPanel, when you can install your Laravel web application within one click at Laravel Managed hosting, as per your required IAAS to deploy the application on Amazon Web Services EC2, Google Compute Engine, DigitalOcean, and Vultr in just a single click.

Here is the complete guide if you want to learn how to get live your laravel web application:

cloudways.com/blog/install-laravel-on-digitalocean/
 

myresellerhome

Well-known member
Registered
Joined
Jan 21, 2022
Messages
85
Points
6
Assuming there are no other websites in the cPanel and your Laravel project is meant to be the default project.
  • Zip your whole Laravel project, and then export your database to SQL.
  • Navigate to File Manager after logging into cPanel.
  • Make sure you're in the root folder, then press the "Upload" button.
  • Choose your zip file and wait for it to be uploaded.
  • Unzip the file that was submitted.
  • Transfer the contents of the public folder to the public html folder.
  • Return to Cpanel and choose Databases.
  • If there isn't already a user for the database, you'll have to make one.
  • Click "Import" on your new database.
  • Choose your SQL export file.
  • Try using the domain address to view your Laravel website.
 

Harry P

Well-known member
Registered
Joined
Feb 3, 2015
Messages
451
Points
28
I am a beginner in php programming and now I'm learning how to program using Laravel framework ....
You should become a pro PHP programmer before learning other frameworks.

However, Here are some resources you can use to learn how to set up Laravel on cPanel:
  1. Laravel Documentation: The official Laravel documentation provides a detailed guide on how to install Laravel on a cPanel server. You can check out the installation section here: https://laravel.com/docs/8.x/installation
  2. YouTube Tutorials: There are many YouTube tutorials available that show how to install Laravel on a cPanel server. You can search for "Laravel cPanel setup" or "Laravel cPanel installation" on YouTube to find these tutorials.
  3. Blog Posts: There are also several blog posts available that explain the process of setting up Laravel on cPanel. You can search for "Laravel cPanel setup" or "Laravel cPanel installation" on Google to find these articles.
  4. Ask for help: If you're having trouble with the setup process, don't hesitate to reach out to the Laravel community for help. You can ask for help on Laravel's official forums, or on Stack Overflow.
Remember, setting up Laravel on cPanel may require some technical knowledge, so be patient and don't hesitate to ask for help if you need it. Good luck with your Laravel learning journey!
 

anmoldevrims

New member
Registered
Joined
Jun 7, 2022
Messages
5
Points
1
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.
 
Older Threads
Replies
12
Views
6,067
Replies
12
Views
5,838
Replies
31
Views
16,305
Newer Threads
Latest Threads
Replies
0
Views
40
Replies
0
Views
47
Replies
1
Views
48
Replies
0
Views
241
Similar Threads
Replies
10
Views
2,837
Replies
0
Views
1,428
Replies
0
Views
1,524
Replies
2
Views
3,282

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top