1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 11:42:17 +02:00

- Fixed crash (take 2)

This commit is contained in:
Felipe Pena
2011-06-23 00:40:31 +00:00
parent b9fff0d5b7
commit de14ef3442

View File

@@ -1603,11 +1603,11 @@ int main(int argc, char *argv[])
tsrm_ls = ts_resource(0);
#endif
fcgi_init();
sapi_startup(&cgi_sapi_module);
cgi_sapi_module.php_ini_path_override = NULL;
cgi_sapi_module.php_ini_ignore_cwd = 1;
fcgi_init();
#ifdef PHP_WIN32
_fmode = _O_BINARY; /* sets default for file streams to binary */