Re: how to implement PHP support in a webserver

From: Date: Sun, 03 Dec 2000 22:16:50 +0000
Subject: Re: how to implement PHP support in a webserver
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-39924@lists.php.net to get a copy of this message
Hi, > I know this message doesn't really concern php-development, but it > still is development nevertheless. > > I'm creating a Java webserver. I'd like it to have php support, so > right now i've been testing it with the Windows binary you so nicely > provide on the website. > > Parsing php pages works fine, but there is a serious problem concering > the passing of GET variables to the scripts. It seems like they 'lose' > them on the way. > > Do i need to supply these variables as environment variables? or how > do i make PHP work with my server? I suppose you are using the CGI version. There is a defined interface between the web-server and an CGI which is specified in the CGI/1.1 specification. The latest draft is available here: http://CGI-Spec.Golux.Com/draft-coar-cgi-v11-03-clean.html If you follow that guidelines, your web-server should be able to communicate with the PHP CGI. - Sascha

« previous php.dev (#39924) next »