Bug 1215429

Summary: php should provide php(httpd)
Product: Red Hat Enterprise Linux 7 Reporter: Robert Scheck <redhat-bugzilla>
Component: phpAssignee: Remi Collet <rcollet>
Status: CLOSED ERRATA QA Contact: David Jež <djez>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: carlwgeorge, dkutalek, jkejda, jorton, mdshaikh, rcollet, robert.scheck, sebastian.leitz
Target Milestone: rc   
Target Release: 7.4   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 16:15:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1260798, 1295396, 1298243, 1420851, 1466370, 1473612    

Description Robert Scheck 2015-04-26 14:00:02 UTC
Description of problem:
None of the PHP packages in RHEL provides php(httpd), thus only a hard
dependency to either php or php-fpm is possible while it does not make
sense to install mod_php when php-fpm is in use. Thus PHP packages on
RHEL should simply provide php(httpd) (like they do already at Fedora).

=============================================================================================================================
 Package                                Arch              Version                              Paketquelle             Größe
=============================================================================================================================
Installieren:
 phpMyAdmin                             noarch            4.4.3-1.el7                          epel-testing            4.3 M
Als Abhängigkeiten installiert:
 dejavu-fonts-common                    noarch            2.33-6.el7                           base                     64 k
 dejavu-sans-fonts                      noarch            2.33-6.el7                           base                    1.4 M
 fontpackages-filesystem                noarch            1.44-8.el7                           base                    9.9 k
 gamin                                  x86_64            0.1.10-16.el7                        base                    128 k
 libX11                                 x86_64            1.6.0-2.1.el7                        base                    605 k
 libX11-common                          noarch            1.6.0-2.1.el7                        base                    181 k
 libXau                                 x86_64            1.0.8-2.1.el7                        base                     29 k
 libXpm                                 x86_64            3.5.10-5.1.el7                       base                     52 k
 libjpeg-turbo                          x86_64            1.2.90-5.el7                         base                    134 k
 libmcrypt                              x86_64            2.5.8-13.el7                         epel                     99 k
 libpng                                 x86_64            2:1.5.13-5.el7                       base                    212 k
 libtidy                                x86_64            0.99.0-31.20091203.el7               epel                    132 k
 libxcb                                 x86_64            1.9-5.el7                            base                    169 k
 libxslt                                x86_64            1.1.28-5.el7                         base                    242 k
 libzip                                 x86_64            0.10.1-8.el7                         base                     48 k
 lighttpd                               x86_64            1.4.35-1.el7                         epel                    318 k
 php-bcmath                             x86_64            5.4.16-23.el7_0.3                    base                     54 k
 php-cli                                x86_64            5.4.16-23.el7_0.3                    base                    2.7 M
 php-common                             x86_64            5.4.16-23.el7_0.3                    base                    561 k
 php-gd                                 x86_64            5.4.16-23.el7_0.3                    base                    124 k
 php-mbstring                           x86_64            5.4.16-23.el7_0.3                    base                    501 k
 php-mcrypt                             x86_64            5.4.16-3.el7                         epel                     20 k
 php-mysql                              x86_64            5.4.16-23.el7_0.3                    base                     97 k
 php-pdo                                x86_64            5.4.16-23.el7_0.3                    base                     95 k
 php-php-gettext                        noarch            1.0.11-10.el7                        epel                     22 k
 php-tcpdf                              noarch            6.2.4-1.el7                          epel                    2.1 M
 php-tcpdf-dejavu-sans-fonts            noarch            6.2.4-1.el7                          epel                    256 k
 php-tidy                               x86_64            5.4.16-3.el7                         epel                     22 k
 php-xml                                x86_64            5.4.16-23.el7_0.3                    base                    122 k
 t1lib                                  x86_64            5.1.2-14.el7                         base                    166 k

Version-Release number of selected component (if applicable):
php-5.4.16-23.el7_0.3.x86_64

How reproducible:
Everytime, see above.

Actual results:
No package provides php(httpd).

Expected results:
Packages php and php-fpm provide php(httpd).

Comment 1 Robert Scheck 2015-04-26 14:02:00 UTC
Cross-filed case 01436505 on the Red Hat customer portal.

Comment 3 Remi Collet 2015-04-27 05:39:54 UTC
This is not a simple fix.

In Fedora we have done a lot of work for this change. php(httpd) means a PHP working "out-of-the-box".

For now, in RHEL-7, only mod_php could provide this (and, this is trivial)

For php-fpm, we need to change php.conf, and split httpd to have the httpd-filesystem (used by php-fpm for user and directory ownership)

Comment 4 Robert Scheck 2015-04-27 20:55:19 UTC
Oh, I wasn't aware that this means an out-of-the-box working PHP. Do you see
chances to backport the efforts from Fedora to RHEL 7.x? RHEL 7 is relatively
young and I am not sure if it makes sense to make packages depending on the
mod_php while php-fpm seems to gain more and more attractivity (at least from
my perspective).

Comment 15 errata-xmlrpc 2018-04-10 16:15:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0889

Comment 16 Robert Scheck 2018-04-18 19:51:14 UTC
I am sorry, but my report was adressed only half, filed bug #1569215 now
to follow up the other missing part.