Re: [PHP-DEV] how to implement PHP support in a webserver From: Sascha Schumann (sascha <email protected>)
Date: 12/03/00

    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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>