Hey guys,
Forgive me if this has been addressed before, but I was wondering: Have we
ever considered maintaining an RPM for PHP dependencies for each version
branch? The are legitimate reasons why people prefer to build PHP manually
instead of building from a repo, but those reasons often don't extend to
the various extensions. So ideally, it would be awesome to be able to
build those from a repo and have them match the builds used by that
particular PHP version. For example, on CentOS I might do something like,
"sudo yum install php-common --enablerepo=PHP5_3".
I was actually thinking of creating and maintaining some RPM packages for
that purpose, but I figured it might be good to find out if there's already
a better method first.
Thanks!
--Kris
Forgive me if this has been addressed before, but I was wondering: Have we
ever considered maintaining an RPM for PHP dependencies for each version
branch? The are legitimate reasons why people prefer to build PHP manually
instead of building from a repo, but those reasons often don't extend to
the various extensions. So ideally, it would be awesome to be able to
build those from a repo and have them match the builds used by that
particular PHP version. For example, on CentOS I might do something like,
"sudo yum install php-common --enablerepo=PHP5_3".
I'm not really sure there's much benefit to the PHP project itself
doing this — I know we still ship a spec file, but other than the
special case of Windows, I think it's better if we just ship a tarball
and let downstream maintainers work their magic from there, including
build dependency aids like this. It's hard to cover all the RPM-using
distributions with a single RPM, and it might be more hassle than it's
worth to try.
I was actually thinking of creating and maintaining some RPM packages for
that purpose, but I figured it might be good to find out if there's already
a better method first.
You might want to talk to Remi Collet before putting much effort in;
he builds excellent RPMs for each version for Fedora, Red Hat and
CentOS and may well have some ideas on the best way to go about this.
Adam