Lines Matching refs:sapi_module
287 if (sapi_module.executable_location) {
289 if (binary_location && !strchr(sapi_module.executable_location, '/')) {
302 snprintf(search_path, MAXPATHLEN, "%s/%s", search_dir, sapi_module.executable_location);
315 } else if (!VCWD_REALPATH(sapi_module.executable_location, binary_location) || VCWD_ACCESS(binary_location, X_OK)) {
403 cgi_or_cli = (!strcmp(sapi_module.name, "cli") || !strcmp(sapi_module.name, "cgi"));
731 if (sapi_module.log_message) {
732 sapi_module.log_message(log_message, syslog_type_int);
1190 if ((!strcmp(sapi_module.name, "cli") || !strcmp(sapi_module.name, "cgi")) &&
2124 sapi_module = *sf;
2188 REGISTER_MAIN_STRINGL_CONSTANT("PHP_SAPI", sapi_module.name, strlen(sapi_module.name), CONST_PERSISTENT | CONST_CS);
2308 if (sapi_module.additional_functions) {
2311 zend_register_functions(NULL, sapi_module.additional_functions, NULL, MODULE_PERSISTENT);