Lines Matching refs:cgi_sapi_module
976 static sapi_module_struct cgi_sapi_module = { variable
1778 sapi_startup(&cgi_sapi_module);
1780 cgi_sapi_module.php_ini_path_override = NULL;
1818 if (cgi_sapi_module.php_ini_path_override) {
1819 free(cgi_sapi_module.php_ini_path_override);
1821 cgi_sapi_module.php_ini_path_override = strdup(php_optarg);
1824 cgi_sapi_module.php_ini_ignore = 1;
1834 …cgi_sapi_module.ini_entries = realloc(cgi_sapi_module.ini_entries, ini_entries_len + len + sizeof(…
1835 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, php_optarg, (val - php_optarg));
1837 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, "\"", 1);
1839 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, val, len - (val - php_optarg));
1841 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, "\"\n\0", sizeof("\"\n\0"));
1844 …cgi_sapi_module.ini_entries = realloc(cgi_sapi_module.ini_entries, ini_entries_len + len + sizeof(…
1845 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, php_optarg, len);
1846 memcpy(cgi_sapi_module.ini_entries + ini_entries_len + len, "\n\0", sizeof("\n\0"));
1850 …cgi_sapi_module.ini_entries = realloc(cgi_sapi_module.ini_entries, ini_entries_len + len + sizeof(…
1851 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, php_optarg, len);
1852 memcpy(cgi_sapi_module.ini_entries + ini_entries_len + len, "=1\n\0", sizeof("=1\n\0"));
1875 cgi_sapi_module.ub_write = sapi_fcgi_ub_write;
1876 cgi_sapi_module.flush = sapi_fcgi_flush;
1877 cgi_sapi_module.read_post = sapi_fcgi_read_post;
1878 cgi_sapi_module.getenv = sapi_fcgi_getenv;
1879 cgi_sapi_module.read_cookies = sapi_fcgi_read_cookies;
1886 cgi_sapi_module.executable_location = argv[0];
1888 cgi_sapi_module.additional_functions = additional_functions;
1892 if (cgi_sapi_module.startup(&cgi_sapi_module) == FAILURE) {
2626 if (cgi_sapi_module.php_ini_path_override) {
2627 free(cgi_sapi_module.php_ini_path_override);
2629 if (cgi_sapi_module.ini_entries) {
2630 free(cgi_sapi_module.ini_entries);