Posts: 7

Topic: Syspath Packages for PHP

New packages in RHSCL like MariaDB now include a package called name-syspaths that adds wrappers in standard locations for SCL binaries. Each available version of these packages is marked as conflicting with all other versions of the package to make sure you only install one wrapper at a time.

This allows scripts to use the SCL version without requiring any changes. Would it be possible to add this for the PHP versions?

Re: Syspath Packages for PHP

I am suggesting you add this for your repositories (if it makes it to RedHat, that is great too, but we are using yours at the moment).Looking at the MariaDB package as an example, they include a lot of different binaries and man pages:

Re: Syspath Packages for PHP

We have 4 different versions running FPM, and many of those applications also have command line tools. The reason for syspaths would be to easily change the version used by other scripts with hardcoded shebang lines or change the default version used by composer (we not infrequently have people run composer manually and break things because the default version is 5.6).