Lines Matching refs:sapi_module
357 if (sapi_module.executable_location) {
359 if (!strchr(sapi_module.executable_location, '/')) {
372 snprintf(search_path, MAXPATHLEN, "%s/%s", search_dir, sapi_module.executable_location);
385 } else if (!VCWD_REALPATH(sapi_module.executable_location, binary_location) || VCWD_ACCESS(binary_location, X_OK)) {
478 cgi_or_cli = (!strcmp(sapi_module.name, "cli") || !strcmp(sapi_module.name, "cgi") || !strcmp(sapi_module.name, "phpdbg"));
853 if (sapi_module.log_message) {
854 sapi_module.log_message(log_message, syslog_type_int);
1345 if ((!strcmp(sapi_module.name, "cli") || !strcmp(sapi_module.name, "cgi") || !strcmp(sapi_module.name, "phpdbg")) &&
2074 sapi_module = *sf;
2148 REGISTER_MAIN_STRINGL_CONSTANT("PHP_SAPI", sapi_module.name, strlen(sapi_module.name), CONST_PERSISTENT | CONST_CS | CONST_NO_FILE_CACHE);
2277 if (sapi_module.additional_functions) {
2280 zend_register_functions(NULL, sapi_module.additional_functions, NULL, MODULE_PERSISTENT);