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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 15:01:28 2024 UTC