Author Topic: Installation of php 7.x fails  (Read 9385 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Installation of php 7.x fails
« on: September 23, 2017, 02:56:42 AM »
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?

Offline
*
Re: Installation of php 7.x fails
« Reply #1 on: September 23, 2017, 03:32:32 AM »
An obvious fix didn't work.

Code: [Select]
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.


Offline
*
Re: Installation of php 7.x fails
« Reply #2 on: September 25, 2017, 01:22:07 PM »
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.

Offline
*
Re: Installation of php 7.x fails
« Reply #3 on: September 26, 2017, 04:38:00 PM »
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?