Lines Matching refs:sapi_module
444 if (sapi_module.executable_location) {
446 if (binary_location && !strchr(sapi_module.executable_location, '/')) {
459 snprintf(search_path, MAXPATHLEN, "%s/%s", search_dir, sapi_module.executable_location);
472 } else if (!VCWD_REALPATH(sapi_module.executable_location, binary_location) || VCWD_ACCESS(binary_location, X_OK)) {
561 cgi_or_cli = (!strcmp(sapi_module.name, "cli") || !strcmp(sapi_module.name, "cgi") || !strcmp(sapi_module.name, "phpdbg"));
889 if (sapi_module.log_message) {
890 sapi_module.log_message(log_message, syslog_type_int);
1348 if ((!strcmp(sapi_module.name, "cli") || !strcmp(sapi_module.name, "cgi") || !strcmp(sapi_module.name, "phpdbg")) &&
2158 sapi_module = *sf;
2222 REGISTER_MAIN_STRINGL_CONSTANT("PHP_SAPI", sapi_module.name, strlen(sapi_module.name), CONST_PERSISTENT | CONST_CS | CONST_NO_FILE_CACHE);
2348 if (sapi_module.additional_functions) {
2351 zend_register_functions(NULL, sapi_module.additional_functions, NULL, MODULE_PERSISTENT);