APC package dependency

Asked by Mike

Hi,

In the process of setting up a server with nginx & php-fpm, I went to install the php54 packages I wanted (php54-fpm etc) which was fine until I wanted php54-pecl-apc. The problem is that it depends on the basic php54 package which in turn depends on httpd. I can see why php54 depends on httpd because it is the Apache module, but why does php54-pecl-apc depend on php54?

Should the APC package not actually depend on php54-common?

Question information

Language:
English Edit question
Status:
Answered
For:
IUS Community Project Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jeffrey Ness (jeffrey-ness) said :
#1

09:20:31 mjpa | was expecting more people... anyway, why does php54-pecl-apc depend on php54? php54 looks to be just the apache module
09:29:38 @jness | good morning mjpa
09:30:47 @jness | this is because php54-pecl-apc is built off of the php54 source:
                                  https://github.com/iuscommunity-pkg/php54-pecl-apc/blob/master/SPECS/php54-pecl-apc.spec#L32
09:34:57 mjpa | hmm thats a shame
09:36:02 @jness | well in order to build a pecl module, and version of php needs to be available. since we provide pecl modules
                                    for php52, php53u, and php54 we build this modules against each version of php5*
09:36:44 mjpa | yea i see the need for php*-devel, which again needs the base php package
09:36:53 mjpa | was hoping to avoid having apache on here
09:38:18 @jness | well just because httpd is being pulled in with auto deps doesn't mean you need to start the service. httpd
                                    doesn't take up to much room on its own.
09:39:00 jasonc | in rhel5 pretty much everything ends up with apache installed

Can you help with this problem?

Provide an answer of your own, or ask Mike for more information if necessary.

To post a message you must log in.