WordPress Heartbeat API: How to Tame admin-ajax.php CPU Spikes on a VPS

wordpress heartbeat api

If your WordPress site runs on a small VPS and CPU climbs every time someone opens the editor, the WordPress Heartbeat API is a likely suspect. It polls admin-ajax.php on a short timer, and on a 1 or 2 GB server that steady background traffic adds up fast. You can slow it down, limit where … Baca Selengkapnya

How to Fix Slow Nginx Response Times Caused by PHP-FPM

slow nginx response times php-fpm

When a page takes several seconds to load but static files still arrive quickly, PHP is usually where the time goes. Nginx answers a plain image in milliseconds, while a WordPress page or admin screen hangs. That gap points to slow nginx response times php-fpm trouble, not to Nginx itself. Nginx is waiting for PHP-FPM … Baca Selengkapnya

How to Troubleshoot Slow WordPress Admin on a Small VPS

slow wordpress admin

Your site loads fine for visitors, but every click inside wp-admin takes five seconds or more. That is a slow wordpress admin vps problem, and it has a different cause than a slow front end. Page caching hides most front-end problems. The admin area gets no such help: every admin page builds fresh, runs PHP, … Baca Selengkapnya

How to Fix the WordPress White Screen of Death on Your VPS

wordpress white screen of death

How to Fix the WordPress White Screen of Death on Your VPS You load your site and get nothing. No error message, no half-rendered page, just a blank white screen. That is the WordPress white screen of death, and on a VPS it is usually a PHP fatal error that WordPress hides from visitors. To … Baca Selengkapnya

How to Install PHP 8.4 on Ubuntu with Nginx and PHP-FPM

install php 8.4 on ubuntu

How to Install PHP 8.4 on Ubuntu with Nginx and PHP-FPM PHP 8.4 brings property hooks, asymmetric visibility, and a few performance gains over 8.3, but Ubuntu 24.04 ships with PHP 8.3 in its default repos. To install PHP 8.4 on Ubuntu you need a third-party PPA, then wire it into Nginx through PHP-FPM. Below … Baca Selengkapnya

How to Host a Client Website on Your VPS Without Mixing It with Your Own

host a client website on vps

How to Host a Client Website on Your VPS Without Mixing It with Your Own When you host a client website on VPS space that also runs your own sites, one wrong permission or one shared database user can mix the two together. A client plugin update can take down your blog. A client upload … Baca Selengkapnya