Installation of unit-php failed on Centos 7

Andrei Belov defan at nginx.com
Thu Jun 7 16:40:36 UTC 2018


Hi Pedro,

CentOS 7 provides PHP version 5.4 in default system repositories.
You should remove "php56w-common" and maybe other php56 family packages and try again.

(Currently we build Unit module packages with the only language versions available from default repositories of the particular OS.)

Hope this helps.


> On 07 Jun 2018, at 19:25, Pedro Corral <pcorralv at gmail.com> wrote:
> 
> how can I install unit-php on Centos 7? This what I obtain:
> 
> Resolving Dependencies
> --> Running transaction check
> ---> Package unit-php.x86_64 0:1.2-1.el7.ngx will be installed
> --> Processing Dependency: libphp5-5.4.so <http://libphp5-5.4.so/>()(64bit) for package: unit-php-1.2-1.el7.ngx.x86_64
> --> Running transaction check
> ---> Package php-embedded.x86_64 0:5.4.16-45.el7 will be installed
> --> Processing Dependency: php-common(x86-64) = 5.4.16-45.el7 for package: php-embedded-5.4.16-45.el7.x86_64
> --> Running transaction check
> ---> Package php-common.x86_64 0:5.4.16-45.el7 will be installed
> --> Processing Dependency: libzip.so.2()(64bit) for package: php-common-5.4.16-45.el7.x86_64
> --> Running transaction check
> ---> Package libzip.x86_64 0:0.10.1-8.el7 will be installed
> --> Processing Conflict: php56w-common-5.6.36-1.w7.x86_64 conflicts php-common < 5.6
> --> Finished Dependency Resolution
> Error: php56w-common conflicts with php-common-5.4.16-45.el7.x86_64
>  You could try using --skip-broken to work around the problem
>  You could try running: rpm -Va --nofiles --nodigest
> 
> _______________________________________________
> unit mailing list
> unit at nginx.org
> https://mailman.nginx.org/mailman/listinfo/unit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/unit/attachments/20180607/5cfae99e/attachment.html>


More information about the unit mailing list