My PHP3 application (solaris, apache 3.x) can only get access to to $PHP_AUTH_USER on an inconsistent basis.
I was not involved in setting this server up, so I do not know a whole lot about its configuration.
I can get $PHP_AUTH_USER in about 10% of tries, but it returns an empty string the other 90%. Success or failure does not seem to be linked to any changes in code (one script in which $PHP_AUTH_USER was populated correctly yesterday no longer works today (with no changes to the script - it is a short test script).
Frustrating.
Kurt