DEV Community

Brian
Brian

Posted on

1 1

A Beginner's Guide to Deploying PHP Apps with Amezmo

If you're tired of complex deployment pipelines and fiddly VPS setups, Amezmo might be exactly what you need. It's a fully managed PHP hosting platform designed specifically for modern PHP apps like Laravel, Slim, and vanilla PHP.

In this beginner-friendly guide, we'll walk through how to deploy a PHP application on Amezmo in just a few minutes — no DevOps background required.


🧰 Why Use Amezmo?

Before we jump into the steps, here’s why Amezmo is worth considering:

  • Instant deployments via Git
  • 🔒 Free SSL and daily backups
  • 🐘 PHP 8.x support out of the box
  • 🪄 Composer, queues, and crons built-in
  • 🔥 No server maintenance required

It’s built for PHP, and that makes it super streamlined compared to general-purpose providers.


🛠️ Step 1: Sign Up and Create an App

  1. Head to amezmo.com and sign up.
  2. Once inside your dashboard, click "New App".
  3. Choose:
    • A name for your app
    • Your Git provider (GitHub, GitLab, Bitbucket)
    • The branch to deploy
    • PHP version (e.g., PHP 8.2)
  4. Click Create App.

Amezmo will spin up an isolated environment for your app — no server provisioning required!


🔧 Step 2: Configure Environment Settings

Head to the Environment tab for your app:

  • Add .env variables (just like Laravel or other frameworks)
  • Enable SSL for HTTPS (free via Let's Encrypt)
  • Choose a document root — for Laravel, it's usually /public

Click Save after you configure your environment.


📦 Step 3: Deploy Your Code

Amezmo uses Git to deploy your app. It can pull directly from your Git repo.

To deploy:

  • Either manually trigger a deploy from the dashboard or
  • Push to the branch you connected during app creation

Amezmo will:

  • Clone the repo
  • Run composer install
  • Deploy the app
  • Reload your web process

It’s that simple.


⚙️ Step 4: Set Up Queues, Crons, and Background Tasks

Laravel users — you're in luck.

Under the Workers section, you can:

  • Add a php artisan queue:work process
  • Schedule artisan schedule:run in the Crons tab (every minute)
  • Run any long-running command you need

No need to SSH in or configure Supervisor manually.


📁 Step 5: Manage Storage and Backups

Amezmo gives you:

  • Persistent /storage directory
  • Daily automatic backups of code and DB
  • One-click restore in case of failure

For Laravel apps, storage is already pre-configured. Just run:


bash
php artisan storage:link
Enter fullscreen mode Exit fullscreen mode

ACI image

ACI.dev: The Only MCP Server Your AI Agents Need

ACI.dev’s open-source tool-use platform and Unified MCP Server turns 600+ functions into two simple MCP tools on one server—search and execute. Comes with multi-tenant auth and natural-language permission scopes. 100% open-source under Apache 2.0.

Star our GitHub!

Top comments (0)