Lines Matching refs:sapi_module
112 PHPAPI char *php_get_version(sapi_module_struct *sapi_module)
116 PHP_VERSION, sapi_module->name, php_build_date,
146 PHPAPI void php_print_version(sapi_module_struct *sapi_module)
148 char *version_info = php_get_version(sapi_module);
412 if (sapi_module.executable_location) {
414 if (!strchr(sapi_module.executable_location, '/')) {
427 snprintf(search_path, MAXPATHLEN, "%s/%s", search_dir, sapi_module.executable_location);
440 } else if (!VCWD_REALPATH(sapi_module.executable_location, binary_location) || VCWD_ACCESS(binary_location, X_OK)) {
533 cgi_or_cli = (!strcmp(sapi_module.name, "cli") || !strcmp(sapi_module.name, "cgi") || !strcmp(sapi_module.name, "phpdbg"));
924 if (sapi_module.log_message) {
925 sapi_module.log_message(log_message, syslog_type_int);
1414 if ((!strcmp(sapi_module.name, "cli") || !strcmp(sapi_module.name, "cgi") || !strcmp(sapi_module.name, "phpdbg")) &&
2147 sapi_module = *sf;
2296 if (sapi_module.additional_functions) {
2299 zend_register_functions(NULL, sapi_module.additional_functions, NULL, MODULE_PERSISTENT);