The smallest safe jump is to PHP 8.5, the closest version with active support. Upgrading several versions at once is common, but review the deprecations of every version in between.
Back up your files and database.
Check that your framework, CMS, theme and plugins support PHP 8.5. Test on a staging copy first.
Read the official migration guides on php.net for each version between 8.4 and 8.5.
Switch the PHP version in your hosting panel or install the new php-fpm package, then watch the error log.
PHP 8.4 is actively supported until Dec 31, 2026 and receives security fixes until Dec 31, 2028.
Is PHP 8.4 still safe to use?
Yes. PHP 8.4 receives both bug fixes and security fixes.
What should I upgrade PHP 8.4 to?
Upgrade to PHP 8.5, the closest version that still has active support, or go straight to PHP 8.5 if your application and plugins support it. Supported versions: 8.5.
How do I check if my website runs PHP 8.4?
Enter your site URL in the PHP Version Checker, or run php -v on the server. In WordPress, go to Tools → Site Health → Info → Server.