Category: Laravel, PHP

Many articles that I read has wrong way of deploying Laravel application on shared hosted environment inside cPanel. Most of them stated that uploading the project folders inside the cPanel and copy the public folder to public_html and modify the Laravel framework ( public/index.php). I believe the following steps is the correct way to deploy and easier way to maintain continuous integration and continuous delivery. Login to you cpanel with your login credentials and then go to Advance section and inside it you will find terminal.Note: Make sure you have SSH access from your providerConfi gure your shell environment to use composerDownload composer:Install composer: Upload you project to home directory of the cPanel file manager.

Go your your app folder.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners