← Back to team overview

ius-coredev team mailing list archive

[Bug 1204492] Re: php54-pecl-apc requires unused php54

 

Hello Björn,

Thanks for taking the time to submit this bug.  Sorry I did not have
time to address this concern on IRC.    In IRC, you mentioned that you
were using some sort of custom Apache and the RPM database does not show
that httpd as being installed.  This situation could come up if nginx or
another web server is being used.  You also mentioned that the custom
Apache can not be installed along with the stock httpd package.  You
were looking to use php fpm and not mod_php.

Looking over Red Hat's php-pecl-apc, it requires the following:

# rpm -q --requires php-pecl-apc
/bin/sh  
/bin/sh  
/usr/bin/pecl  
/usr/bin/pecl  
config(php-pecl-apc) = 3.1.9-2.el6
libc.so.6()(64bit)  
libc.so.6(GLIBC_2.2.5)(64bit)  
libc.so.6(GLIBC_2.4)(64bit)  
librt.so.1()(64bit)  
librt.so.1(GLIBC_2.2.5)(64bit)  
php(api) = 20090626
php(zend-abi) = 20090626
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(VersionedDependencies) <= 3.0.3-1
rtld(GNU_HASH)  
rpmlib(PayloadIsXz) <= 5.2-1

These dependencies are meet in the following packages:

php-cli
php-common
php-pear


I have been doing some testing in regards to which packages are needed for php54-fpm and php54-pecl-apc.  It does appear that php54 may not be required.  I am not a PHP developer and there is no test suite, so I can't verify that removing the requirement for php54 would break any features.  If an updated package would be made available in the testing repos, could do some testing? 

-Ben

-- 
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/1204492

Title:
  php54-pecl-apc requires unused php54

Status in IUS Community Project:
  New

Bug description:
  I run RHEL6 x86_64 and want to be able to use "php54-fpm" with "php54
  -pecl-apc" to run a fastcgi server which i will call from frontend
  servers.

  However, the "php54-pecl-apc" package requires "php54" to be installed which i do not want. 
  The spec file for "php54-pecl-apc" states that it Requires "php54" because it uses PCRE from that package at build. This should then be a BuildRequire, not Require. 

  The stock versions of RHEL6 "php-pecl-apc" does not require "php" to
  be installed.

  The main reason i want the IUS packages to behave in the same way as
  stock RHEL packages, is that i don't want "php54" installed, as it in
  turn requires  "httpd" to be installed. Both are completely redundant.

  Can this behaviour of the "php54-pecl-apc" be fixed, so it does not
  require php54?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/1204492/+subscriptions


References