When using Platform.sh Dedicated, a few configuration options and tools function differently from Platform.sh on the Grid, aka the Development Environment.
Platform.sh Dedicated comes with
opcache extensions enabled by default.
In addition, we can enable
oci8 (PHP5.6 only), or any extension with a pre-existing package in the Debian Apt repository if desired. Please request such extensions via a ticket.
php.ini files are not supported on Platform.sh Dedicated. However, all PHP options that can be changed at runtime are still available. For example the memory limit can be changed using
PHP options that can we can change via support ticket include:
Platform.sh runs a second PHP-FPM process on all Dedicated clusters that has Xdebug enabled, but is only used if a request includes the appropriate Xdebug header. That means it's safe to have Xdebug "always on", as it will be ignored on most requests.
To obtain the key you will need to file a ticket to have our support team provide it for you. Staging and Production have separate keys. Set that key in the Xdebug helper for your browser, and then whenever you have Xdebug enabled the request will use the alternate development PHP-FPM process with Xdebug.
On Platform.sh Grid projects, a running cron task will block a deployment until it is complete. On Platform.sh Dedicated, however, a deploy will terminate a running cron task.
Specifically, when a deploy to either Production or Staging begins, any active cron tasks are sent a
SIGTERM message so that they can terminate gracefully if needed. If they are still running 2 seconds later a
SIGKILL message will be sent to forcibly terminate the process.
For that reason, it's best to ensure your cron tasks can receive a SIGTERM message and terminate gracefully.
Some configuration parameters for Dedicated clusters cannot be managed via the YAML configuration files, and for those parameters you will need to open a support ticket to have the change applied. Further, the
.platform/services.yaml files do not automatically apply. Those will apply on the development environments but not on the staging and production instances. Any existing service upgrades or new service additions to staging and production will require a support ticket.
It is possible to run different configurations for some (but not all) options between staging and production, such as cron tasks. By default we will make configuration changes to both instances unless you request otherwise.
- Cron commands
- Worker instances
- Service versions and configuration (everything in
- Route, domain, and redirect configuration (everything in
- Application container version
- Additional PHP extensions
- Web server configuration (the web.locations section of
Cron tasks may run up to once per minute. (They are limited to once every 5 minutes on Platform.sh Grid.)
Cron tasks are always interpreted in UTC time.
Logs are available on the Dedicated Cluster at a different path than on Platform.sh Grid. Specifically, the can be found in:
This folder contains the application, cron, error and deployment logs.