PHP 7.2 for CentOS 7 armhfp

Monday , 15, January 2018 Leave a comment

What happens when you need something that is not readily available, but you can help get it done?
In my case, start harrassing people until you get all the info you need. Enter @arrfab and @remicollet.
Fabian got the builder ready, and contacted Remi who got me to use his SRPMS, all I had to do was push the packages to the builders and wait, and wait, and wait some more....

Status:
The current status is that we have php-7.2.1 working, as you can see in the screenshot, with only basic tests done for the moment, but all successful.
Most of the packages are built, some are being a little stubborn, but we'll get it done. But here is where you come in, we need testing (heavy testing), real user case scenarios.
If you want to see a Spectre of what things are going to be, and you are not afraid your computer may have a complete Meltdown, you can keep reading.

Installing:
Currently we are focused on building only the opt-in php replacement, and all the other platform dependant packages from Remi's repo (noarch rpms are not currently the main target, so you should get it from Remi's repo).
If you don't already have a "test subject", please follow the steps on https://wiki.centos.org/SpecialInterestGroup/AltArch/Arm32 first, including  EPEL, which is done with the following command:

cat > /etc/yum.repos.d/epel.repo << EOF
[epel]
name=Epel rebuild for armhfp
baseurl=https://armv7.dev.centos.org/repodir/epel-pass-1/
enabled=1
gpgcheck=0
EOF

Then all that is left is adding the test repo like this:

cat > /etc/yum.repos.d/php72-testing.repo << EOF
[php72-testing]
name=Remi php72 rebuild for armhfp
baseurl=https://armv7.dev.centos.org/repodir/community-php72-testing/
enabled=1
gpgcheck=0
EOF

As I said before,  we aren't rebuilding noarch packages, so if you need one of those, just add remi's repo like this:

cat > /etc/yum.repos.d/remi.repo << EOF
[remi]
name=Remi's RPM repository for Enterprise Linux 7 - $basearch
mirrorlist=http://cdn.remirepo.net/enterprise/7/remi/mirror
enabled=1
gpgcheck=1
gpgkey=https://rpms.remirepo.net/RPM-GPG-KEY-remi
EOF

Feedback:
Come find us on the CentOS on ARM-Dev list at https://lists.centos.org/mailman/listinfo/arm-dev

Thanks for testing!!!
Pablo.

Please give us your valuable comment

Your email address will not be published. Required fields are marked *