PHP configuration

PHP is the main runtime available through Silverstripe Cloud, and has some of its configuration exposed through .platform.yml.

ini_set and .htaccess

We generally don’t recommend configuring PHP via ini_set calls inside your custom PHP code, nor by using php_value inside .htaccess files.

Reconfiguring PHP using those methods may conflict with platform internals and lead to instability and security issues.

The following configuration settings are explicitly reserved for internal purposes:

  • auto_prepend_file
  • auto_append_file