Configure & Edit PHP
PHP (Hypertext Preprocessor) is a server-side scripting language used for web development. On OS Cloud, you have several options to customise your site's PHP version, extensions, and configuration.
PHP version
We recommend using the latest stable PHP version for optimal performance and security. To use a different version, switch the PHP engine in Advanced → Developer Tools.
Extensions
PHP extensions are modules that add extra functionality — like database connections, image processing, or encryption. You can enable or disable them directly in the panel.
You can enable up to five additional extensions. We recommend activating Brotli and APCu by default.
| Extension | Description |
|---|---|
| Brotli | A compression algorithm by Google, more efficient than Gzip. Reduces bandwidth usage and improves load times. |
| APCu | An in-memory caching layer that speeds up PHP by storing frequently accessed data in RAM, reducing database queries. |
| XMLRPC | Enables XML-RPC support, allowing PHP applications to communicate with remote servers using XML-based messages. |
| OAuth | Provides OAuth authentication for secure authorisation between applications (commonly used for social logins). |
| PdoDblib | A PDO driver for Microsoft SQL Server and Sybase databases via the FreeTDS library. |
PHP error log
The PHP error log records warnings, errors, and issues occurring in your PHP application — useful for debugging.
You can find the log in your website's home directory as php-error.log.
PHP.ini editor op aanvraag
A full list of available PHP directives can be found on the official PHP website: php.net/manual/en/ini.list.php↗
