Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343543 - dev-php5/xcache: php-FPM support.
Summary: dev-php5/xcache: php-FPM support.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-31 16:58 UTC by Piotr Karbowski (RETIRED)
Modified: 2010-11-23 15:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Add support for FPM. (xcache-fpm-support.patch,545 bytes, patch)
2010-10-31 16:58 UTC, Piotr Karbowski (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Karbowski (RETIRED) gentoo-dev 2010-10-31 16:58:10 UTC
xcache work flawless with php-fpm but ebuild does not have support to build it for fpm api.

Reproducible: Always

Steps to Reproduce:
1. emerge php with USE=fpm -apache2 -cgi
2. emerge xcache: Build failed, no support for fpm.



Expected Results:  
1. emerge php with USE=fpm -apache2 -cgi
2. emerge xcache

It should build module and put config into /etc/php/fpm-php5/ext/xcache.ini
Comment 1 Piotr Karbowski (RETIRED) gentoo-dev 2010-10-31 16:58:56 UTC
Created attachment 252679 [details, diff]
Add support for FPM.
Comment 2 Ole Markus With (RETIRED) gentoo-dev 2010-11-05 08:00:42 UTC
Fixed version has been in CVS a while already
Comment 3 Kai Krakow 2010-11-23 15:40:49 UTC
Request to reopen:

(In reply to comment #2)
> Fixed version has been in CVS a while already

Wrong: Not fixed. There's actually a second line in the ebuild which needs fixing. It should maybe be replaced by the variable defined above (PHPSAPILIST), look here:

dev-php5/xcache/xcache-1.3.0-r1.ebuild:

 8 | PHPSAPILIST="apache2 cgi fpm"

vs.

31 |     require_php_sapi_from cgi apache2

Comment 4 Ole Markus With (RETIRED) gentoo-dev 2010-11-23 15:49:04 UTC
(In reply to comment #3)
> Request to reopen:
> 
> (In reply to comment #2)
> > Fixed version has been in CVS a while already
> 
> Wrong: Not fixed. There's actually a second line in the ebuild which needs
> fixing. It should maybe be replaced by the variable defined above
> (PHPSAPILIST), look here:
> 
> dev-php5/xcache/xcache-1.3.0-r1.ebuild:
> 
>  8 | PHPSAPILIST="apache2 cgi fpm"
> 
> vs.
> 
> 31 |     require_php_sapi_from cgi apache2
> 

Can you please try xcache-1.3.0-r2?

Thanks!