Doesn't Cloudlinux still provide PHP 5.3 out of the box?
We are using self compiled and built PHP 5.3 packages for our Debian 12 servers, but it was quite a struggle get it working, because of library incompatibilities with almost anything a modern Linux OS comes with nowadays...
You also need...