Installation of php 7.x fails

Started by dg1, September 23, 2017, 02:56:42 AM

Previous topic - Next topic

dg1

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?

dg1

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.


studio4host

php 7.x is developer version latest from git so you probably don't need that and you should stick to production versions.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

dg1

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?