porro

End of life  /  PHP  /  5.4

End of life

PHP 5.4 is past end of life.

Security fixes stopped on 14 Sep 2015, 4063 days ago. New vulnerabilities in 5.4 won’t be fixed.

Released
1 Mar 2012
Active support
ended 14 Sep 2014
Security fixes
ended 14 Sep 2015
Latest
5.4.45

Upgrade to PHP 8.5: security fixes until 31 Dec 2029.

What to upgrade to

Go to 8.5, not 8.2.

8.2 runs out in 63 days. 8.5 is the newest supported PHP cycle, with security fixes until 31 Dec 2029.

Before you upgrade

Read the migration notes for each version you skip. Run your tests with deprecations on, then raise require.php in composer.json and update the lock file. Read the PHP 8.5 upgrade guide

How to check your version

Which PHP is this site on?

On the server

$ php -v
PHP 8.3.14 (cli)
# the web server can run a different binary; check phpinfo()

In the lock file

$ composer show --platform | grep php
php 8.3.14
# composer.json require.php is what you allow, not what runs

On Forge

Server → PHP
Default version: 8.3
# sites can override the server default

Know before support ends.

Porro reads the PHP, framework and database version from every site and tells you 90 days before support runs out.

Start your free trial →

Dates from endoflife.date/php, checked daily · data as of 29 Oct 2026.