ID: 19058 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: iPlanet related Operating System: Solaris 8 PHP Version: 4.2.2 New Comment:
any updates? Previous Comments: ------------------------------------------------------------------------ [2002-09-09 10:40:21] [EMAIL PROTECTED] Any progress on this? ------------------------------------------------------------------------ [2002-08-29 04:56:34] [EMAIL PROTECTED] I will see what I can do - although I found a fix for the authentication problem, there seem to be other problems causing the WebServer to crash. I need some time to investigate these issues. ------------------------------------------------------------------------ [2002-08-28 12:10:40] [EMAIL PROTECTED] Since most of us do not use the iPlanet system, and previous attempts to fix this have been blind shots, any chance you might a solution on how to fix this? ------------------------------------------------------------------------ [2002-08-22 17:27:09] [EMAIL PROTECTED] I had a look in the source file php4/ sapi/ nsapi/ nsapi.c (http://cvs.php.net/co.php/php4/sapi/nsapi/nsapi.c?r=1.26&Horde=fbdbac7dc48d637c56347cf9cf5a0533) And from what I saw, the PHP variables are not set. I found this part of the code a bit surprising, as I suspect that this is where you would set the value of the environment variables: /********************************************************* / authentication / / we have to make a 'fake' authenticator for netscape so it / will pass authentication through to php, and allow us to / check authentication with our scripts. / / php4_auth_trans / main function called from netscape server to authenticate / a line in obj.conf: / funcs=php4_auth_trans shlib="path/to/this/phpnsapi.dll" / and: / <Object ppath="path/to/be/authenticated/by/php/*"> / AuthTrans fn="php4_auth_trans" /*********************************************************/ int NSAPI_PUBLIC php4_auth_trans(pblock * pb, Session * sn, Request * rq) { /*This is a DO NOTHING function that allows authentication information to be passed through to PHP scripts.*/ return REQ_PROCEED; } ------------------------------------------------------------------------ [2002-08-22 17:12:04] [EMAIL PROTECTED] When installed with iPlanet Web Server, PHP works fine except for authentication. It turns out that some environment variables are not set properly (probably by NSAPI module?). This problem has already been reported several times, for example in: http://bugs.php.net/bug.php?id=14885 http://bugs.php.net/bug.php?id=11181 http://bugs.php.net/bug.php?id=8888 - I have compiled PHP 4.2.2 on Solaris 8, with --nsapi, --enable-track-vars. - I have followed the instructions for modifying the obj.conf and magnus.conf and mime.types files - I have tested both iPlanet Web Server 4 and iPlanet Web Server 6 SP 3 - same behavior ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19058&edit=1