php

PHP scripting language. Uses the riptidepy/php images.

There are variants for PHP 7.1 - 7.3 and one that uses the configuration of the service with role php.

Link to entity in repository: https://github.com/Parakoopa/riptide-repo/tree/master/command/php

/command/php/base

Latest PHP version.

Environment variables

Key Required? Already set? Example Value(s) Description
XDEBUG_CONFIG no yes, (default: “remote_host={{ host_address() }}”) remote_host={{ host_address() } Configuration for Xdebug
PHP_IDE_CONFIG no yes, (default: “serverName=riptide-{{ parent().parent().name }}”) serverName=riptide-{{ parent().parent().name }} PhpStorm path mapping key

/command/php/X

Based on: /command/php/base

Different PHP versions. Available versions:

  • 7.1
  • 7.2
  • 7.3

/command/php/from-service

Based on: /command/php/base

Uses the PHP configuration of a service with role php. This variant can also be used to send mails.

Role Requirements

Role: php

A service based on /service/php.

Additional volumes

These volumes are used from the PHP service’s config.

Name Source Source path Target path Description
php_ini Config from another service (config ‘php_ini’ from service with role ‘php’) /etc/php.d/z_riptide.ini PHP service php settings
msmtprc Config from another service (config ‘msmtprc’ from service with role ‘php’) /etc/msmtprc SMTP configuration