php¶
PHP scripting language. Uses the riptidepy/php images.
There are variants for PHP 7.1 - 8.4 and one that uses the configuration of the service with role php.
/command/php/base¶
Latest PHP version.
Environment variables¶
Key |
Required? |
Already set? |
Example Value(s) |
Description |
|---|---|---|---|---|
PHP_IDE_CONFIG |
no |
yes, (default: “serverName=riptide-{{ parent().parent().name }}”) |
serverName=riptide-{{ parent().parent().name }} |
Note: XDEBUG_CONFIG that was present here before was removed. Xdebug configuration are not available.
Use the from-service variant of this command for Xdebug support.
/command/php/X¶
Based on: /command/php/base
Different PHP versions.
/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 |
Link to entity in repository: <https://github.com/theCapypara/riptide-repo/tree/master/command/php>_