Comment 13 for bug 397721

dreamcat4 (dreamcat4) wrote :


I have now a TESTING package for ubuntu.

Instructions and guide available at:

 - Operation with sqlite, mysql and pgsql databases
 - Check inter-operability with apache2 webserver
 - Look for and possible conflicts against existing php variants, or apache installation.
   (dpkg --contents <php5-fpm.deb> to list files)
 - Needs a short, concise man page. Anybody good at writing man pages?

Known Issue:
Php extensions aren't loaded by the php-fpm binary. This may prove to be somewhat limiting in a production environment.

 dreamcat4@ubuntu910server:/usr/local/src/play/php-fpm$ sudo /etc/init.d/php5-fpm start
 Starting php_fpm Failed loading /usr/lib/php5/20060613+lfs/ /usr/lib/php5/20060613+lfs/ undefined symbol: function_add_ref
 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/' - /usr/lib/php5/20060613+lfs/ undefined symbol: zend_objects_store_add_ref in Unknown on line 0

I'm not exactly sure the reason for this. Its the fpm binary. Something may be missing during the link stage. Hopefully the issue can be fixed in the fpm source code, and someone can provide update. We'll have to see.


To get it to compile, certain modifications were necessary. The modified sources were then converted into a patch file. I then followed the usual ubuntu/debian php5 ways. The FPM changes shall need merging / approval by andrei and Mike of php-fpm group.

Best regards,