So,
Do I buy a volume? I am afraid that php won’t run in volumes, thus my php files would be static.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey friend,
Great question, thanks for asking it here! You only need a storage volume if you need to add storage to your droplet, or have a detachable storage volume that you can move between droplets (like a USB drive). For deploying a Laravel app, I recommend using this tutorial as a guide:
Ubuntu 18 is not much different from 16 in most steps, but you may have to find out how to do something specific to 18 if you run into any particular step that fails (if anything it would probably be package names that contain version numbers).
Now one thing to note, you already have Apache+PHP installed on this droplet, so you’re editing an existing environment. This tutorial is minimal and may have to be adjusted to your needs, but it looks pretty solid to me for your situation.
Jarland
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.