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

MohamedTammam's avatar

How to deploy Laravel 9 on Digital Ocean?

All resources I found that include command lines are for PHP 7.4.

Usually I copy installing command lines from trusted sources and then pull from GitHub, But I can't find a resource for PHP 8.

And BTW, what's the best way to deploy on Digital ocean or any other cloud?

0 likes
8 replies
Snapey's avatar

How to deploy Laravel 9 on Digital Ocean?

using which stack?

Snapey's avatar

@MohamedTammam which part are you stuck with?

php 8 makes very little difference

i'd suggest you setup using virtual host

do you want to deploy from a repo using git?

MohamedTammam's avatar

@Snapey Yeah I know, but I want to know what are the differences exactly :)

Yeah, I want to deploy from a repo.

I don't know what is "virtual host"

Please or to participate in this conversation.