PHP Performance: Additional CPU cores vs Faster CPU cores
Some time ago, I received an email from a client experiencing slow performance issues with a LEMP (Linux, Nginx, MySQL, and PHP web server). During a full audit, I found that the server’s…
Some time ago, I received an email from a client experiencing slow performance issues with a LEMP (Linux, Nginx, MySQL, and PHP web server). During a full audit, I found that the server’s…
Two years ago, one of our online community members discussed some of the reasons behind the slow adoption of PHP 8. One member stated that it’s due to PHP compatibility issues across new…
<?php var_dump(realpath_cache_size()); ?> Enjoy! realpath_cache_size = 4M realpath_cache_ttl = 120 Note that if your using Apache Prefork-mpm mod_php to run PHP (the fastest when loading only PHP and not with static content) then…
OPcache is a PHP extension that improves PHP performance by storing precompiled script bytecode in shared memory, thereby removing the need for PHP to load and parse scripts on each request. The extension…
These are not mind-blowing results. However, depending on your current throughput of PHP requests, you may be happy to take whatever improvements you can find. Also, this test was with WordPress only; with…