Wishlist

From PHP-FPM

Jump to: navigation, search

If you wish to add something to the list, try to place it in order of priority, and include your wiki name in front of it.

  • (mike) SIMPLE: Ability to point to a different php.ini file per pool (just php-cgi -c)
  • (mike) remove as many external dependencies as possible (PHP's FastCGI SAPI, patched libevent) (in the new PHP-FPM)
  • (mike) adaptive process spawning (largest missing piece right now)
  • (mike) syntax change - Andrei had mentioned to me once he would love to make it like nginx
  • (xaxo) a way to restart single pools
  • (mike) mainline PHP inclusion, or at least in PECL and supported - in progress
  • (mike) CPU affinity/load balancing (otherwise PHP engines will sit on whatever CPU they were assigned, perhaps ensuring they get balanced around would help on a multi-core machine)
  • (mike) syslog support
  • (mike) statistics/metrics/reporting (?) and/or some sort of API? (see fastcgi.txt[1])
    • (mike) perhaps a PHP function or a socket to show the engine name, how many active processes, etc. (see fastcgi.txt[1]) - maybe use JSON or something else
  • (mike) change config file syntax, Andrei had suggested adopting nginx's. sounds good.
  • (mike) add ability for include files (should be easier depending on the config syntax)
  • (PR) Correct handling of SIGTERM and SIGQUIT, and handle SIGHUP in the same way as SIGUSR2. Detailed information available at my subpage for Proper Signal Handling here.
  • (mike) ability to enable modules on a per-pool basis (essentially extension=foo.so)
  • (Jason Giedymin) Change all internal defaults to reflect those set in the default XML config file. Defaults should always have margin of safety for production use. Internals values such as the timeout defaulting to 0 could be considered too wild. This change would both satisfy consistent documentation as well as enhanced security. Additional config file profiles could also be supplied to enhance _correct_ usage:
    • Php-fpm.debug.conf
    • Php-fpm.production.conf
    • Php-fpm.default.conf
    • Php-fpm.conf (is a copy of default.conf)
  • (martin) multi-user pools, one single pool can impersonate different users based on the path of the php script to execute for each request, the username will be identified by a regexp like /home/user1/public_html/page.php -> /home/(\w+)/.* -> user1
  • (martin) htscanner mode, to handle php.ini config in .htaccess files like the pecl/htscanner module does

[1] Spawned from a very rough idea at http://mikehost.com/~mike/tmp/fastcgi.txt

Willing to Contribute?

Please add your name or company and any notes about your contributions.

  • Mike - I'm willing to contribute a few hundred dollars USD towards some of these if needed.
  • If you use PHP-FPM please consider donating. I will personally track the money and use it towards specific features or in general. Thank you. Contact mike503 AT gmail.com if you want to contribute.
Personal tools