PHP

The PHP component provides instantly scalable computing power for PHP.

# Booking

Choose the PHP component plan while creating a new app or a new environment. For an existing environment you can visit the components page to change the PHP plan.

# Configuration

Find PHP related setting pages with each of your environments in the dashboard. Here you can switch the PHP version and configure various PHP extensions and settings. There are also metrics and PHP related logs.

# Scaling

PHP plans differ mostly in the available memory, as well as the number of PHP processes. Start small, scale later. Test and experiment with different scaling settings. Usually you will not need to change it over time. Keep an eye on memory and swap metrics in the dashboard.

# Autoscaling

Autoscaling for PHP is not available. This is because of the flaky nature of PHP processing time going up and down and different customer requirements.

# Shared plans

These are the most commonly used plans. Indeed the XS and the S plan are covering most normal website scenarios already. Some software systems have system requirements. The values below are good starting points from our experience:

SoftwarePHP memory
Craft CMS, October CMS512 MB
WordPress, Kirby, Grav, Statamic256 MB

The actual memory requirements are highly individual. It depends on the number of visitors, plugins and configuration and the custom code you write. See our performance design section for more.

# Dedicated plans

Higher plans are available for heavy users and e-commerce systems.

# MySQL connections for PHP

The PHP plan also comes with matching MySQL connections, so that each PHP process can make one connection and there are some extra MySQL connections for connecting with a client from outside.

PHP planPHP processesMySQL connections
XS28
SM28
MD28
LG412
XL616
2XL824

Found a tpyo?Edit