Accelerating PHP Applications |
 |
2025-02-22 |
 |
 |

3 |
 |
 |
For maximum performance compile PHP statically into apache (up to 20% speed increase)
Static Compile of PHP
# PHP
./configure --with-apache=/path/to/apache_source
# Apache
./configure --activate-module=src/modules/php4/libphp4.a
Increased speed comes at a cost of a slightly longer installation procedure, requiring Apache recompile every time PHP is upgraded.