Archive:Setup:Installation Guide/Advanced/Performance Optimization (2)/PHP: Difference between revisions

Redaktion (talk | contribs)
No edit summary
Redaktion (talk | contribs)
m (username removed) (log details removed)
 
(No difference)

Latest revision as of 11:57, 5 June 2025

Archived! This documentation is obsolete and no longer applies to the current BlueSpice version.

opcache

Enable the Zend extension opcache in PHP. In the php.ini, we recommend the following configuration:

opcache.enable=1
opcache.memory_consumption=512
opcache.max_accelerated_files=100000
opcache.validate_timestamps=1
opcache.revalidate_freq=2
opcache.optimization_level=0x7FFF9FFF

Up to BlueSpice 4.2.x only  -v4.2.x: In addition, you should include the BlueSpice configuration files ( extensions/BlueSpiceFoundation/config/*) in the Opcache blacklist (opcache.blacklist_filename). You can find more information in the official PHP documentationfor configuration.php.

This config-file is no longer available from version 4.3.

zlib

Activate the extension zlib. In the php.ini we recommend the following configuration:

zlib.output_compression = On
zlib.output_compression_level = 9

You can find more information in the official PHP documentation for zlib.