1/ CentOS 7 is 10 years old, and very close to its end of life in ~10 weeks
2/ PHP 5.4 has reached its end of life 9 years ago...
3/ Official packages
CentOS has PHP 5.4.16 with critical security fixes
4/ Remi's repository
PHP 5.4.45 is available in the repository
https://blog.remirepo.net/post/2015/10/ … .4-is-dead
While PHP 5.6+ has backports for all security issues, 5.4 only has backports for critical ones
For proper repository configuration and usage, follow the wizard instructions:
https://rpms.remirepo.net/wizard/
In all cases, I heartily recommends upgrading to supported versions, including fixing your legacy app.
You are years late
Laptop: Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi