Hello,
I don't know if this is the best group for my question but I'll try anyway.
I'm trying to use PHP in a self-written web server (made with Delphi). The
web server sets some environment variables and then invokes the CGI version
of the interpreter.
If I simly call php.exe giving the file
I tried now with version 4.2.0. Same behavior here, except the exit code is
now 0...!?
Udo
Posted by ELKNews 1.0.4-B
Empower your News Reader! http://www.atozedsoftware.com
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
simly
Udo
PS: Is there any document online that describes how to support PHP in own
web servers? I'd like to use the CGI version, however.
--
Udo Giacomozzi - [EMAIL PROTECTED]
www.nova-sys.net - www.guweb.com
The disadvantage of intelligence is that one
is constantly obliged to go on l
sure this is
not the problem.
I've copied php.ini-dist as php.ini in the SYSTEM32 directory and changed
the following settings:
extension_dir = "D:\php\extensions"
doc_root = "I:\Programme\Apache Group\Apache\htdocs"
changed nothing else (but tried much before, now re
Just noticed that it works if I don't add additional path information after
the PHP file
http://localhost:10080/test/test.php-test?abc
works whereas
http://localhost:10080/test/test.php-test/abc
leads into a Internal Server Error.
Does the CGI version not support paths?
Udo
Posted by ELKN
\WINNT
WINDIR=E:\WINNT
GATEWAY_INTERFACE=CGI/1.1
SERVER_PROTOCOL=HTTP/1.1
REQUEST_METHOD=GET
QUERY_STRING=
REQUEST_URI=/test/test.php-test/abc
SCRIPT_NAME=/php/php.exe
PATH_INFO=/test/test.php-test/abc
PATH_TRANSLATED=i:\programme\apache group\apache\htdocs\test\test.php-
test\abc
--
Udo Giacomo
I have a web server (debian 2.2) that already runs Apache and PHP4 module
version. Everything has been configured using debian packages and works
fine.
Now I also need the CGI version of PHP because I want to use it on the
command line and in a selfmade program that is only able to use CGI.
I