summaryrefslogtreecommitdiff
path: root/cgi_main.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-05-02 19:01:45 +0000
committerZeev Suraski <zeev@php.net>1999-05-02 19:01:45 +0000
commite6257bc388a9f7fe6cc78249f084d877506351f8 (patch)
tree3a987ea7a0035bd2d2661f1fb09bb2435805d07c /cgi_main.c
parent5dbe9246609e59439ca0340aed5b2eaac1bed7d8 (diff)
downloadphp-git-e6257bc388a9f7fe6cc78249f084d877506351f8.tar.gz
UNIX CGI build fix
Diffstat (limited to 'cgi_main.c')
-rw-r--r--cgi_main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cgi_main.c b/cgi_main.c
index db3ecaac57..2fe4e50ecd 100644
--- a/cgi_main.c
+++ b/cgi_main.c
@@ -142,7 +142,10 @@ int main(int argc, char *argv[])
}
#endif
+#ifdef ZTS
tsrm_startup(1,1,0);
+#endif
+
sapi_startup(&sapi_module);
#if WIN32|WINNT
@@ -378,4 +381,4 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
}
-#endif \ No newline at end of file
+#endif