Steps for getting PHP 7.3?

Hey there.

Clear Linux’s php-extras bundle is currently providing PHP 7.4. What would be the steps to get PHP 7.3 to run on the system instead?

Thanks in advance.

Here is a similar question and answer:

Thanks for letting me know.

Could you help me out with the steps for compiling PHP with all the Clear Linux patches?

Another option to check out is the clearlinux/php on DockerHub, depending on your usage that might be the easiest way. There is a 7.3 tag.

If you want to manually compile, the autospec directory we use including patches is available here: https://github.com/clearlinux-pkgs/php/

Thanks, the docker container was my first bet but it comes with php-basic, I would need php-extras and the latest OS build would be the safest way forward.

I looked into the pkgs but I wouldn’t even know where to begin with getting that up and running since I completely lack the knowledge of how to set it up nor am I able to find any steps, hence why I created this thread.

Would you be able to point me in the right direction and future readers who stumble upon this exact issue?