Jarvis Panel

Servers

PHP

Run one or more PHP versions side by side on a server. Each site picks the PHP version it runs on, so you can upgrade sites one at a time.

Open a server and select PHP in the sidebar. The table lists every installed version with its install date, whether it's the default CLI, and its status.

Install a version

  1. Click Install version.
  2. Select the version and confirm.

Supported versions: 8.5, 8.4, 8.3, 8.2, 8.1, 8.0, 7.4, 7.3, 7.2, 7.1, 7.0, and 5.6.

Installation runs in the background. The status changes to Ready when it's done.

Default CLI version

The default CLI version is the one used when you run php on the server, for example from the console, cron jobs, or commands.

To change it, open the actions menu on a version and click Make default cli.

Install an extension

  1. Open the actions menu on a version and click Install extension.
  2. Select the extension and confirm.

Available extensions: imagick, exif, gmagick, gmp, intl, sqlite3, and opcache. The extension is installed for that PHP version only. Check that it's compatible with the version first.

Edit php.ini

Each version has two php.ini files:

  • Edit FPM ini: used by your sites through PHP-FPM, at /etc/php/{version}/fpm/php.ini.
  • Edit CLI ini: used on the command line, at /etc/php/{version}/cli/php.ini.

Open the actions menu on a version, choose one, edit the file, and save. Use it to change settings such as memory_limit, upload_max_filesize, or max_execution_time.

Start, stop, and restart

From the actions menu you can also Start, Stop, Restart, Enable, or Disable the PHP-FPM service for that version. Enabled services start automatically when the server boots.

Uninstall a version

Open the actions menu on a version and click Uninstall.

A version can't be uninstalled while any site on the server uses it. Move those sites to another version in their site settings first.