From PHP3 to PHP4 under Win NT with Netscape Enterprise Server or iPlanet

[email protected] ("Benoit Noss") Wed, 13 Sep 2000 17:17:35 +0200
Newsgroups php.migration
Message-ID <[email protected]>
Hello,
I'm working for a long time with PHP3 with Netscape Enterprise Server and =
iPlanet under WinNT4 SP5.
I'm unsuccessfully trying to install PHP4 as CGI with this web server.
I get the following:

When I ask for a test.php file placed on the webserver document root, a Dr =
Watson error occurs, here an abstract of Dr Watson.log file (ACCESS =
VIOLATION OF PHP.EXE)
--------------------------------------------------------------------
--------------------------------------------------------------------
Une exception d'application s'est produite :
        App :  (pid=3D258) <=3D=3D=3D=3D=3D=3D In my case PID 258 is =
PHP.exe
        Quand : 9/13/2000 @ 15:59:2.408
        Num=E9ro d'exception : c0000005 (violation d'acc=E8s)

*----> Liste des t=E2ches <----*
    258 php.exe
--------------------------------------------------------------------
--------------------------------------------------------------------

The error.log file of Netscape Enterprise Server reports

[13/sept./2000:16:44:56] failure (  246): for host 194.9.200.39 trying to =
GET /test.php, cgi-parse-output reports: the CGI program D:\php4\php.exe =
did not produce a valid header (program terminated without a valid CGI =
header (check for core dump or other abnormal termination)=20

--------------------------------------------------------------------
--------------------------------------------------------------------

In fact when I launch test.php from a DOS Window to see the header the =
output is

X-Powered-By: PHP/4.0.1pl2
Content-type:text/html

This is a test (the echo function works)


--------------------------------------------------------------------
--------------------------------------------------------------------
With PHP3, the header was "Content-type:text/html" but no other ligne =
before and everything worked well.

Do somebody know if this new header (X-Powered-By: PHP/4.0.1pl2) can =
produce a Dr Watson error?
or
Has somebody successfully installed PHP4 under Netscape Enterprise Server =
or iPlanet ?

Thanks a lot