fpm_main
2015-10-26 22:05:55 0 举报
fpm_main是一个用于安装、卸载和管理PHP扩展的工具,它可以在Linux系统上轻松地管理PHP扩展。使用fpm_main,用户可以轻松地安装、启用或禁用PHP扩展,以满足应用程序的需求。此外,fpm_main还可以帮助用户更新已安装的扩展,确保其始终处于最新版本。通过fpm_main,用户可以更好地控制PHP环境,提高应用程序的性能和稳定性。总之,fpm_main是一个功能强大且易于使用的PHP扩展管理工具,适用于所有Linux系统用户。
作者其他创作
大纲/内容
cgi_sapi_module.php_ini_path_override = NULL; cgi_sapi_module.php_ini_ignore_cwd = 1;
static void fcgi_setup_signals(void)
sapi_initialize_empty_request(TSRMLS_C);
fcgi_init();
sf-ini_entries = NULL;sapi_module = *sf;
int fcgi_init(void)
php_setup_sapi_content_types(TSRMLS_C);
php_optind = orig_optind; php_optarg = orig_optarg;
SAPI_API void sapi_startup(sapi_module_struct *sf)
if (php_information) {
/* No other args are permitted here as there is no interactive mode */ if (argc != php_optind) {
sapi_startup(&cgi_sapi_module);
sapi_post_entry *p=post_entries;while (p-content_type) { if (sapi_register_post_entry(p TSRMLS_CC) == FAILURE) {
/* startup after we get the above ini override se we get things right */ if (cgi_sapi_module.startup(&cgi_sapi_module) == FAILURE) {
sapi_globals_ctor(&sapi_globals);
static void sapi_globals_ctor(sapi_globals_struct *sapi_globals TSRMLS_DC)
static void fcgi_signal_handler(int signo) if (signo == SIGUSR1 || signo == SIGTERM) { in_shutdown = 1;
static int php_cgi_startup(sapi_module_struct *sapi_module)
zend_signal_startup();
SAPI_API int sapi_register_post_entries(sapi_post_entry *post_entries TSRMLS_DC)
SG(server_context) = NULL; SG(request_info).request_method = NULL; SG(request_info).auth_digest = SG(request_info).auth_user = SG(request_info).auth_password = NULL; SG(request_info).content_type_dup = NULL;
for (x = 0; x pstorage) / sizeof(*zend_signal_globals-pstorage); ++x) { zend_signal_queue_t *queue = &zend_signal_globals-pstorage[x];
sapi_register_post_entries(php_post_entries TSRMLS_CC);
/* Called from php_request_startup() for every request.*/ SAPI_API void sapi_activate(TSRMLS_D)
static void zend_signal_globals_ctor(zend_signal_globals_t *zend_signal_globals TSRMLS_DC)
module_shutdown = 0; module_startup = 1;
is_initialized = 1;
zend_signal_globals_ctor(&zend_signal_globals);
sapi_activate(TSRMLS_C);
cgi_sapi_module.additional_functions = additional_functions; cgi_sapi_module.executable_location = argv[0];
void zend_signal_startup()
int php_setup_sapi_content_types(TSRMLS_D)
SAPI_API void sapi_initialize_empty_request(TSRMLS_D)
SAPI_API int sapi_register_post_entry(sapi_post_entry *post_entry TSRMLS_DC)
0 条评论
下一页