Skip to content

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.

PHP versions older than 8.0 are not supported due to security and performance concerns. If you need an older version, you can request it — but we are not responsible for any issues or vulnerabilities that may result from using outdated PHP versions.

image

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.

ExtensionDescription
BrotliA compression algorithm by Google, more efficient than Gzip. Reduces bandwidth usage and improves load times.
APCuAn in-memory caching layer that speeds up PHP by storing frequently accessed data in RAM, reducing database queries.
XMLRPCEnables XML-RPC support, allowing PHP applications to communicate with remote servers using XML-based messages.
OAuthProvides OAuth authentication for secure authorisation between applications (commonly used for social logins).
PdoDblibA 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.

Since panel version 12.0+, you can also view the log directly within the PHP section in the panel.

image

PHP.ini editor op aanvraag

The default values are optimized for each server to ensure the best performance. If you’d like to change them to a custom configuration, please contact us. We will review the reason for the change and determine whether it is possible

A full list of available PHP directives can be found on the official PHP website: php.net/manual/en/ini.list.php↗