rfc:fpm:ini_syntax

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
rfc:fpm:ini_syntax [2010/04/13 09:28]
fat
rfc:fpm:ini_syntax [2010/04/15 12:05]
fat
Line 7: Line 7:
  
 This RFC discusses the FPM configuration file syntax and it's replacement from XML to INI. This RFC discusses the FPM configuration file syntax and it's replacement from XML to INI.
 +
 +**WE ARE NOT TALKING HERE ABOUT CHANGING SOMETHING INTO main/* or Zend/*.
 +This dicussion is about sapi/fpm ONLY**
  
 ===== Introduction ===== ===== Introduction =====
Line 41: Line 44:
 ==== Global directives ==== ==== Global directives ====
   * **daemonize**. Set to yes/no. Default to yes. Does FPM run as a standalone daemon or stays in foreground (debugging purpose).   * **daemonize**. Set to yes/no. Default to yes. Does FPM run as a standalone daemon or stays in foreground (debugging purpose).
-  * **pid_file**. Set to PID file location.+  * **pid**. Set to PID file location.
   * **error_log**. Set to error file location.   * **error_log**. Set to error file location.
   * **log_level**. Set the log_level: notice, warn, error or alert.   * **log_level**. Set the log_level: notice, warn, error or alert.
Line 51: Line 54:
   * **user**.   * **user**.
   * **group**.   * **group**.
-  * **pm.style**. +  * **pm**. 
-  * **pm.dynamic.start_servers**. +  * **pm.start_servers**. 
-  * **pm.dynamic.min_spare_servers**. +  * **pm.min_spare_servers**. 
-  * **pm.dynamic.max_spare_servers**.+  * **pm.max_spare_servers**.
   * **pm.max_children**.   * **pm.max_children**.
-  * **listen_address**.+  * **pm.max_requests**. 
 +  * **pm.status_path**. 
 +  * **listen.address**.
   * **listen.backlog**.   * **listen.backlog**.
   * **listen.owner**.   * **listen.owner**.
   * **listen.group**.   * **listen.group**.
   * **listen.mode**.   * **listen.mode**.
-  * **status**. +  * **ping.path**. 
-  * **ping**. +  * **ping.response**.
-  * **pong**. +
-  * **php_define[]**.+
   * **chroot**.   * **chroot**.
   * **chdir**.   * **chdir**.
-  * **allowed_clients**. 
-  * **environment[]**. 
   * **request_terminate_timeout**.   * **request_terminate_timeout**.
   * **request_slowlog_timeout**.   * **request_slowlog_timeout**.
Line 76: Line 77:
   * **max_requests**.   * **max_requests**.
   * **catch_worker_output**.   * **catch_worker_output**.
 +  * **php_value[]**.
 +  * **php_admin_value[]**.
 +  * **php_flag[]**.
 +  * **php_admin_flag[]**.
 +  * **allowed_client[]**.
 +  * **env[]**.
 ===== Not yet known directives ===== ===== Not yet known directives =====
   * **include**.   * **include**.
Line 87: Line 94:
   * **pm.dynamic.max_spare_servers** to **pm.max_spare_servers**. Same as start_servers.   * **pm.dynamic.max_spare_servers** to **pm.max_spare_servers**. Same as start_servers.
   * **status** to **pm.status_path**. The status directive is directly related to PM as it's its status page.   * **status** to **pm.status_path**. The status directive is directly related to PM as it's its status page.
-  * **listen_address** to **listen** (same reason as **pm**)+  * **listen_address** to **listen.address**
   * **ping** and **pong** to a subsection:   * **ping** and **pong** to a subsection:
     * **ping.path** to set the ping path request (/ping)     * **ping.path** to set the ping path request (/ping)
Line 101: Line 108:
 ===== Proposal and Patch ===== ===== Proposal and Patch =====
  
-I've started writting the patch. Work In progress.+  * The first version of the patch is available at http://www.fatbsd.com/fpm/fpm-ini-v1.patch. The include function is not YET implemented, so as the reference system which is maybe too complicated.
  
 ===== Changelog ===== ===== Changelog =====
  
-fat - 2010-03-30 - initial RFC version. +  * fat - 2010-03-30 - initial RFC version. 
-fat - 2010-04-13 - remove unnecessary use of arrays (for pm, ping and listen) + add examples+  fat - 2010-04-13 - remove unnecessary use of arrays (for pm, ping and listen) + add examples 
 +  * fat - 2010-04-15 - first revision of the patch has been added 
 +  * fat - 2010-04-15 - add warning header to explain this RFC is only about sapi/fpm/*
rfc/fpm/ini_syntax.txt · Last modified: 2017/09/22 13:28 (external edit)