Limitations

Published

Updated

⚠️

Quirks, restrictions, permissions.

fortrabbit runs PHP apps in containers, not on a VPS. There is no root shell, no software to install at runtime, no sendmail and no 1-click installer. Heavy tools such as ffmpeg and image optimizers run in jobs only.

This is not VPS hosting

fortrabbit runs each environment as a lightweight container, built to deliver PHP fast. Each component scales on its own. Anyone looking for the most hardware per euro is better served by a VPS.

No 1-click installers

The software chosen for a new app sets the software template. It does not install the software.

No root shell

SSH works for deployment and everyday development tasks, without root. Software cannot be installed at runtime, such as a mail server, Ruby or a global npm package. Node.js runs during the deployment only, in the build commands.

Executable scripts

Scripts need the executable bit to run directly. Without it, call PHP files through the interpreter: php artisan or php craft. See executing scripts.

Heavy tools in jobs only

ffmpeg, Ghostscript, Chromium and image optimizers such as jpegoptim, optipng, pngquant and gifsicle use a lot of CPU time and memory. They are installed for jobs only, so they never slow down web requests. Move video conversion, image optimization or PDF rendering into a worker or a cron.

PDF creation

wkhtmltopdf is not installed and cannot be installed. Alternatives:

  • dompdf, a PHP library that renders HTML and CSS to PDF
  • A PDF service
  • PDF creation in the browser, with jsPDF or similar

Security responsibilities

fortrabbit takes care of the operating system and the PHP runtime. The developer is responsible for the code and the software it uses.

Service location

The region of an app is chosen at creation and cannot be changed later. Billing is in euros or US dollars, chosen per payment method. fortrabbit is based in Berlin.

Mailing

PHP's mail() function calls sendmail, which does not exist on fortrabbit. Mail servers reject most mail sent directly from a web server anyway. Use a transactional mail provider, or SMTP with a mail provider: the SMTP ports 25, 465 and 587 are open in the outgoing firewall.

Frequently asked

Can I use the PHP mail() function on fortrabbit?

No. There is no sendmail on fortrabbit, so mail() does not send. Send e-mail through a transactional mail provider or over SMTP instead.

#

Written by humans and AI in collaboration.

AI use & editorial processEdit on GitHub ↗