php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13438 missing environment under iplanet like $PHP_AUTH_USER
Submitted: 2001-09-25 14:08 UTC Modified: 2002-08-13 23:07 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: php_bugs at darkgate dot net Assigned:
Status: Not a bug Package: iPlanet related
PHP Version: 4.0.4pl1 OS: Solaris 8
Private report: No CVE-ID: None
 [2001-09-25 14:08 UTC] php_bugs at darkgate dot net
This bug was reported before (#11181) but it hasn't been updated since May and I can't add to that bug report because I don't have a password.

A lot of the environment is missing with php under iplanet that you would normally see with apache.  $PHP_INFO_USER and $PHP_AUTH_PW but other stuff like environment variables is also missing e.g. REMOTE_USER, REMOTE_ADDR, SERVER_NAME, etc.

This makes programming a site that is authenticated virtually impossible.  I have followed the instructions in nsapi-readme.txt to the letter, I have tried this with and without the "AuthTrans fn=php4_auth_trans" line.

I've been told 4.0.4pl1 is the only version that works with iplanet, is this incorrect information?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-13 23:07 UTC] kalowsky@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

Unfortunately I don't know very much about the NSAPI system, but do please try a newer version
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 06:01:27 2019 UTC