Skip to content

Performance Tuning

Here are some ways you can optimise the performance of PHP

Use Latest Version

Performance improvements have been a major theme of PHP updates of late. It should be the first thing you do when looking to improve performance

Opcode Caching

Opcode caching should be enabled which can provide a significant performance boost

There are many opcache settings which can be configured when tuning for performance:

Opcode Cache Files

A further tweak to this is to have the opcode cache store to files.

An extension such as this one can then be used to "warm up" the opcode cache files for maximimum benefit: