PHP, Node.js and Python

PHP, Node.js and Python

Pick a site type, PHP version or start command, and switch a site from one type to another.

All plans
On this page

Site types

  • Static — nginx serves the web folder.
  • PHP — a PHP-FPM pool for the site, with the PHP version you choose among those installed on the server. A PHP site on a server without PHP offers to install it after your approval.
  • Node.js — your start command runs as a service under the site’s user and nginx forwards requests to its port. If you give no port, a free one between 3000 and 3999 is chosen. A server without a recent Node.js offers to install Node.js 22 after your approval.
  • Python — the same as Node.js, with your start command (for example a Gunicorn or Uvicorn command).

Changing a site’s type or web folder

Open the site’s Settings and choose the type (Static, PHP with a version, Node.js or Python with a port and start command) and the web folder (wwwolf/, wwwolf/public or another folder under wwwolf/). The site’s certificate, its HTTPS redirect and its other settings are kept. If anything fails, the site is put back exactly as it was. A suspended site cannot be switched.

This works on sites that have their own Linux user (see Sites).

Node.js and Python app status

For Node.js and Python sites the site page shows whether the app service is running, read live from the server. An app that keeps crashing is shown as down, not as running. The service is restarted after each deploy.

PHP, Node.js and Python — Help center — WolfPanel