Comment 13 for bug 397721

Revision history for this message
dreamcat4 (dreamcat4) wrote :

Hello,

I have now a TESTING package for ubuntu.

Instructions and guide available at:
http://dreamcat4.jottit.com/new_php5-fpm_testing_candidate

Checklist:
 - 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/xcache.so: /usr/lib/php5/20060613+lfs/xcache.so: undefined symbol: function_add_ref
 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: undefined symbol: zend_objects_store_add_ref in Unknown on line 0
  done

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.

Sources:

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,
dreamcat4