Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

md_rasel's avatar

Upload laravel 8 to cpanel shared hosting .

Hello Developers, Can anyone please help me to upload a fresh laravel app to a shared hosting Cpanel? I am new to laravel and tried several ways to do this job. Thanks in advance.

0 likes
1 reply
jlrdw's avatar

Are you using git or ftp? If ftp, see the chapter on deployment, making all ready, see chapter in mix to ready it. Clear all cache also.

Backup all first in case something goes wrong. Then ftp up, use phpmyadmin to create your database, then ssh in to run migrations. Or import your data.

Make sure laravel in setup correctly pointing to public as document root.

Just suggestions.

1 like

Please or to participate in this conversation.