PHP & WordPress
Orizon detects PHP apps from your files and serves them on PHP-FPM — including apps with a public docroot and WordPress-style layouts.
How PHP is detected
Orizon recognises a PHP app from a composer.json or the presence of .php files. If your app uses a public/directory as its web root, that's used as the docroot; otherwise the project root is served. This works whether you deploy from a repo, a Git URL, or an upload.
Serving model
PHP apps are served directly — there's no long-running server process you manage and no PORT contract to satisfy. Requests are handled by PHP-FPM behind Caddy, which also provisions TLS for your domains automatically.
WordPress & databases
For WordPress and other database-backed PHP apps, provision a managed MySQL or MariaDB database and point your app at its connection details — see Connecting to a database. You can administer the database from the browser with phpMyAdmin or Adminer.
Configuration
Put credentials and config in your project's environment variablesrather than committing them. They're available to your PHP process at runtime.