While trying to install PHP 7.x, installer fails. Does not apply to 7.0/7.1, these install with no issues.
Error:
checking pcre install prefix... no
checking libzip... yes
checking for the location of zlib... /usr
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libzip... not found
configure: error: Please reinstall the libzip distribution
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Redirecting to /bin/systemctl restart httpd.service
Any ideas why?
An obvious fix didn't work.
yum install libzip
Just resulted in another error:
checking libzip... yes
checking for the location of zlib... /usr
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libzip... configure: error: system libzip must be upgraded to version >= 0.11
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
php 7.x is developer version latest from git so you probably don't need that and you should stick to production versions.
PHP 7.1 installs 7.1.7
How to get 7.1.9 then if 7.x fails?
Also, if 7.x is for advanced users or experimental, it should be marked as such. Right?