Comment 4 for bug 397721

Revision history for this message
Stas Sușcov (sushkov) wrote :

Hi,
I must report that I've tried patching the current `php5` package from hardy in order to offer modified `php5-cgi` with support for fpm under a new package` php5-fpm` and I failed miserably cause of the long list of patched the package depends on.

The fpm patch would be 63rd on the list.

The package fails to build cause there are patches which require `./buildconf --force` thus modifying the upstream `./configure` and `main/php_config.h.in` files which needs patching by php-fpm.

Tested php version: 5.2.4-2ubuntu5.6
Tested patch: http://php-fpm.org/downloads/php-5.2.4-fpm-0.5.3.diff.gz

Another solution would be to skip the patch which conflicts and provide php5-fpm as a package apart without them.
Also, I'm not sure if php5 package can be pushed to a newer version in hardy.