Lines Matching refs:sapi_module
368 if (sapi_module.executable_location) {
370 if (!strchr(sapi_module.executable_location, '/')) {
383 snprintf(search_path, MAXPATHLEN, "%s/%s", search_dir, sapi_module.executable_location);
396 } else if (!VCWD_REALPATH(sapi_module.executable_location, binary_location) || VCWD_ACCESS(binary_location, X_OK)) {
489 cgi_or_cli = (!strcmp(sapi_module.name, "cli") || !strcmp(sapi_module.name, "cgi") || !strcmp(sapi_module.name, "phpdbg"));
875 if (sapi_module.log_message) {
876 sapi_module.log_message(log_message, syslog_type_int);
1370 if ((!strcmp(sapi_module.name, "cli") || !strcmp(sapi_module.name, "cgi") || !strcmp(sapi_module.name, "phpdbg")) &&
2105 sapi_module = *sf;
2166 REGISTER_MAIN_STRINGL_CONSTANT("PHP_SAPI", sapi_module.name, strlen(sapi_module.name), CONST_PERSISTENT | CONST_NO_FILE_CACHE);
2254 if (sapi_module.additional_functions) {
2257 zend_register_functions(NULL, sapi_module.additional_functions, NULL, MODULE_PERSISTENT);