php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22347 PHP_AUTH_USER is not set anymore
Submitted: 2003-02-21 03:21 UTC Modified: 2003-02-21 03:25 UTC
From: jp at icmc dot nl Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.3.1 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jp at icmc dot nl
New email:
PHP Version: OS:

 

 [2003-02-21 03:21 UTC] jp at icmc dot nl
Hello,

Actually this is a reply on Bug #20441, but I can't seem to reply on that bug anymore.

I just upgraded to PHP 4.3.1 and encountered this problem for the first, seems I had no problems in 4.3.0 !

Is there a work-around to e.g. allter the php.ini so PHP_AUTH_USER is set again, when using .htaccess?

Anyway, for now I have updated all my script by adding the following line at the top of each php file:
$PHP_AUTH_USER=$_SERVER["REMOTE_USER"];

In bug report 20441 someone wrote that this problem would be fixed, guess this is either not the case or I misunderstand.

Best Regards,

Jean-Pierre

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-21 03:25 UTC] sniper@php.net
There were NO other changes between 4.3.0 -> 4.3.1 
that could have broken this.

The correct setting is: 'safe_mode=Off'..

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 31 12:00:02 2025 UTC