Saturday 30 October 2021

Upload Laraver project to Godaddy Linux shared hosting using CPanel

 Follow the steps given below to upload your laravel project to Linux shared server with Cpanel in Godaddy.

Step 1:

 Move all files from public folder to your project root folder.

Step 2 :

Open index.php and change the two lines given below.

Line 1 :  

 require __DIR__ . '/../vendor/autoload.php'; 

                             To

require __DIR__ . '/vendor/autoload.php';


Line 2 :

$app = require_once __DIR__ . '/../bootstrap/app.php';

                           To

$app = require_once __DIR__ . '/bootstrap/app.php';


Next Topic

No comments:

Post a Comment