php56u for httpd24u?

Asked by Luigi Chan

I am using CentOS6.
I have installed the httpd24u.
And I wanted to install php56u.
However, yum tell me that I have to use the httpd2.2 of the official repo of centos.
I want to use httpd24u together with php56u.
Is it possible?

[root@vpsb etc]# httpd -V
Server version: Apache/2.4.12 (CentOS)
Server built: Feb 3 2015 10:06:59
Server's Module Magic Number: 20120211:41
Server loaded: APR 1.5.1, APR-UTIL 1.5.4
Compiled using: APR 1.5.1, APR-UTIL 1.5.4
Architecture: 32-bit
Server MPM: prefork
  threaded: no
    forked: yes (variable process count)
Server compiled with....
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="/var/run/httpd/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
[root@vpsb etc]# yum install php56u
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: ftp.plusline.de
 * epel: mirror.de.leaseweb.net
 * extras: mirror.de.leaseweb.net
 * ius: mirror.amsiohosting.net
 * updates: mirror.eu.oneandone.net
Resolving Dependencies
--> Running transaction check
---> Package php56u.i686 0:5.6.5-1.ius.centos6 will be installed
--> Processing Dependency: php56u-common(x86-32) = 5.6.5-1.ius.centos6 for package: php56u-5.6.5-1.ius.centos6.i686
--> Processing Dependency: php56u-cli(x86-32) = 5.6.5-1.ius.centos6 for package: php56u-5.6.5-1.ius.centos6.i686
--> Processing Dependency: httpd-mmn = 20051115 for package: php56u-5.6.5-1.ius.centos6.i686
--> Processing Dependency: httpd-mmn = 20051115 for package: php56u-5.6.5-1.ius.centos6.i686
--> Running transaction check
---> Package httpd.i686 0:2.2.15-39.el6.centos will be installed
--> Processing Dependency: httpd-tools = 2.2.15-39.el6.centos for package: httpd-2.2.15-39.el6.centos.i686
--> Processing Dependency: apr-util-ldap for package: httpd-2.2.15-39.el6.centos.i686
---> Package php56u-cli.i686 0:5.6.5-1.ius.centos6 will be installed
---> Package php56u-common.i686 0:5.6.5-1.ius.centos6 will be installed
--> Processing Dependency: php56u-pecl-jsonc(x86-32) for package: php56u-common-5.6.5-1.ius.centos6.i686
--> Running transaction check
---> Package apr-util-ldap.i686 0:1.3.9-3.el6_0.1 will be installed
--> Processing Dependency: apr-util = 1.3.9-3.el6_0.1 for package: apr-util-ldap-1.3.9-3.el6_0.1.i686
---> Package httpd-tools.i686 0:2.2.15-39.el6.centos will be installed
---> Package php56u-pecl-jsonc.i686 0:1.3.6-3.ius.centos6 will be installed
--> Processing Dependency: php56u-pear for package: php56u-pecl-jsonc-1.3.6-3.ius.centos6.i686
--> Processing Dependency: php56u-pear for package: php56u-pecl-jsonc-1.3.6-3.ius.centos6.i686
--> Running transaction check
---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package php56u-pear.noarch 1:1.9.5-1.ius.centos6 will be installed
--> Processing Dependency: php56u-xml for package: 1:php56u-pear-1.9.5-1.ius.centos6.noarch
--> Processing Dependency: php56u-posix for package: 1:php56u-pear-1.9.5-1.ius.centos6.noarch
--> Running transaction check
---> Package php56u-process.i686 0:5.6.5-1.ius.centos6 will be installed
---> Package php56u-xml.i686 0:5.6.5-1.ius.centos6 will be installed
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.24) for package: php56u-xml-5.6.5-1.ius.centos6.i686
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.22) for package: php56u-xml-5.6.5-1.ius.centos6.i686
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.18) for package: php56u-xml-5.6.5-1.ius.centos6.i686
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.13) for package: php56u-xml-5.6.5-1.ius.centos6.i686
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.11) for package: php56u-xml-5.6.5-1.ius.centos6.i686
--> Processing Dependency: libxslt.so.1 for package: php56u-xml-5.6.5-1.ius.centos6.i686
--> Processing Dependency: libexslt.so.0 for package: php56u-xml-5.6.5-1.ius.centos6.i686
--> Running transaction check
---> Package libxslt.i686 0:1.1.26-2.el6_3.1 will be installed
--> Processing Conflict: apr15u-util-1.5.4-2.ius.centos6.i686 conflicts apr-util < 1.5.4
--> Processing Conflict: httpd24u-2.4.12-2.ius.centos6.i686 conflicts httpd < 2.4.12
--> Processing Conflict: httpd24u-tools-2.4.12-2.ius.centos6.i686 conflicts httpd-tools < 2.4.12
--> Finished Dependency Resolution
Error: httpd24u conflicts with httpd-2.2.15-39.el6.centos.i686
Error: httpd24u-tools conflicts with httpd-tools-2.2.15-39.el6.centos.i686
Error: apr15u-util conflicts with apr-util-1.3.9-3.el6_0.1.i686
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@vpsb etc]#

Question information

Language:
English Edit question
Status:
Solved
For:
IUS Community Project Edit question
Assignee:
No assignee Edit question
Solved by:
Carl George
Solved:
Last query:
Last reply:
Revision history for this message
Best Carl George (carl.george) said :
#1

Howdy Luigi,

This conflict is intentional. The package "php56u" is technically mod_php, which is compiled against the stock httpd package. When evaluating httpd24u we decided against building mod_php for every combination of php and httpd [0]. Instead, you can use php56u-fpm with httpd24u.

[0] https://lists.launchpad.net/ius-community/msg01277.html

Revision history for this message
Luigi Chan (luigicph) said :
#2

Thanks Carl George, that solved my question.