Control Web Panel

WebPanel => PHP => Topic started by: dg1 on September 23, 2017, 02:56:42 AM

Title: Installation of php 7.x fails
Post by: dg1 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?
Title: Re: Installation of php 7.x fails
Post by: dg1 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.

Title: Re: Installation of php 7.x fails
Post by: studio4host 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.
Title: Re: Installation of php 7.x fails
Post by: dg1 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?