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

shadrix's avatar
Level 12

Which Server do you take for Digital Ocean?

So I'm starting to prep for the deployment of my website. However, I have the problem that the cheapest droplet (5$) is too weak for even install Laravel via composer...

I get the error:

proc_open(): fork failed - Cannot allocate memory

I could fix this by adding swap, however since the server are using SSD it's not recommended.

What kind of droplet are you currently using for a staging sever? and what kind for a production server that has low traffic? And what would you use for a page like Laracast?

Thank you :)

0 likes
3 replies
Snapey's avatar

I run multiple sites on the entry level server with no problem.

shadrix's avatar
Level 12

@snapey thanks for your reply. Interesting! Currently, I fixed this prolblem by installing Laravel locally and then via git clone bringing it to the server.

My question to you. Are you using swap for memory? Or is the 1gb of ram enough for your websites?

Snapey's avatar
Snapey
Best Answer
Level 122

yes, I use swap. occasionally the os would need more memory than is available and kills off the most hungry item which is mysql. Without swap, sites would die because mysql was not running.

1 like

Please or to participate in this conversation.