Cookies ahead

Our support chat tool "Intercom" would like to collect some more data on you. See the related link for more details.

Docs

Railway alternative for PHP hosting

Created

Reviewedbyfl

🚂

fortrabbit vs Railway.

fortrabbit is a Railway alternative — PHP-focused hosting with predictable pricing, no usage-meter surprises, and EU hosting (AWS Ireland).

Why pick fortrabbit over Railway for PHP hosting?

fortrabbit is a managed PaaS built exclusively for PHP. Railway is a polyglot deployment platform — a modern take on Heroku that runs PHP, Python, Ruby, Node, and more via buildpacks and containers. The UI is slick, but pricing is usage-based and can surprise at scale, and PHP is just one supported runtime among many.

If you're hosting PHP — Laravel, Symfony, Statamic, Craft CMS, Kirby, or plain PHP — fortrabbit gives you a focused environment: tuned PHP runtime, integrated MySQL, atomic deploys, persistent storage, and EU hosting (AWS Ireland). Pricing is per-app and predictable; no per-second metering. Plans start at €2.50 per month; the trial doesn't require a credit card.

Start a free trial — no credit card

How does fortrabbit compare to Railway?

FeatureRailwayfortrabbit
FocusPolyglot, buildpacksPHP only
Deploymentgit + Dockerfilegit push
Managed MySQLAs a serviceNative
Managed PostgresYes
File storagePaid volumesPersistent app storage
SSH accessLimitedFull SFTP + SSH
RegionGlobalEU (Ireland)
Pricing modelUsage-based per-secondPer-app, monthly
Free tier$5 trial credit7-day trial, no card
SupportCommunity, paid fastHuman chat, all plans
CompanyVenture-backedIndependent, bootstrapped

Pricing comparison

Use caseRailwayfortrabbit
Small site / devHobby $5 base + usage ≈ $10–$20 / mo€5 / mo
Production appPro $20 base + compute + DB ≈ $50–$100 / mo€30 / mo
Scaled appPro tier with sustained usage ≈ $150+ / mo€60–€120 / mo depending on tier

Numbers are illustrative — Railway's usage-based billing varies a lot with traffic, compute time, and add-ons. See fortrabbit pricing for the current matrix.

Migrating from Railway to fortrabbit

  1. Provision the app on fortrabbit. Pick a region (EU) and a plan. The free trial is enough to validate the move.
  2. Add the MySQL component. If you ran MySQL on Railway, take a mysqldump and import via fortrabbit's SSH tunnel — see MySQL import guide. If you used Postgres, plan a schema port.
  3. Connect your git provider. Install the fortrabbit GitHub App (or connect GitLab / Bitbucket) and link your existing repo to the new fortrabbit app — see deployment intro. Pushes to your branch trigger an automatic deploy; Composer install runs as part of it.
  4. Drop the Dockerfile. fortrabbit deploys PHP source directly; no container image to maintain.
  5. Move environment variables. Railway variables map 1:1 to fortrabbit env vars — set in the dashboard or via the CLI.
  6. Move volumes. rsync from Railway volumes into your fortrabbit app's persistent storage via SFTP / SSH.
  7. Cut over DNS. Add the domain in the fortrabbit dashboard, update the CNAME, and watch the certificate issue automatically via Let's Encrypt.

Why teams switch

  • Predictable bills. Per-app monthly pricing, no per-second compute math.
  • PHP-first ergonomics. Composer, OPcache, PHP version pinning, integrated MySQL.
  • Owner-run support. You talk to the engineers who run the platform.
  • No buildpacks, no Dockerfile. Push PHP source, get a running app.

For background on Railway itself, see our hosting guide entry.

Frequently asked

Does fortrabbit have usage-based pricing like Railway?
No

No - fortrabbit pricing is a flat monthly plan per app — the PHP runtime, MySQL component, SSL, and storage are included. There is no per-second machine billing or egress meter to model. The invoice in month two looks like the invoice in month one, unless you change plan.

#
Why pick fortrabbit over Railway for a PHP-only stack?
PHP-only focus

PHP-only focus - Railway is a polyglot deployment platform — PHP runs as one of several supported runtimes through buildpacks and containers. fortrabbit has only ever hosted PHP, so the defaults are PHP-shaped: opcache, version pinning, Composer cache, atomic releases, integrated MySQL. If your stack is PHP only, the PHP-only platform tends to fit better.

#
How do I move my PHP app from Railway to fortrabbit?
Self-service

Self-service - Push your repo to the new fortrabbit app for git-push deploys, transfer environment variables, and import your database from a dump via the SSH tunnel into the MySQL component. Files on a Railway volume map to fortrabbit's persistent storage — rsync them across. No Dockerfile or buildpack config to translate.

#
Is fortrabbit a better fit than Railway for EU projects?
Often

Often - For projects that need EU jurisdiction, fortrabbit runs in AWS EU (Ireland) and the company is registered in Berlin, so both the operational entity and the infrastructure sit inside EU jurisdiction. Railway is US-based and runs in cloud regions globally; EU residency is available but the company and support sit in the US.

#
Can the bill be predicted ahead of time on fortrabbit?
Yes

Yes - Pricing is component-based and billed in arrears, with a one-day minimum and pro-rating, and no per-second metering. To cap spend, disable autoscaling and pick a specific plan. There are no setup fees, hidden costs, or annual commitments.

#

Different by design

A platform purpose-built for PHP. More than the sum of its parts.

Pay in arrears

Daily prorated, post-paid billing. No upfront payment, no yearly commitment.

Modular pricing

Pay per component and scale each one from xs to 2xl on its own.

No dark patterns

No vendor lock-in, no upselling, no misleading messages.

Humans in support

Eye-level developer chat over the support bubble. No sales calls.

Developer-first

Git-push deploy, SSH access, bring your own code. No 1-click bloat.

Managed platform

A hardened, service-oriented PHP stack. Deploy code, skip the server admin.