Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Some variables have disappeared from PHP $_SERVER after upgrade

Status
Not open for further replies.

Rapture

Programmer
Dec 15, 2003
6
BG
Hi all!

Recently I upgraded from Apache/1.3.27 (Unix) AuthMySQL/2.20 mod_ssl/2.8.12 OpenSSL/0.9.7 PHP/4.3.0 to Apache/1.3.29 (Unix) AuthMySQL/2.20 mod_ssl/2.8.16 OpenSSL/0.9.7 PHP/4.3.4. I preserved all compiled in Apache modules in the new configuration.

Everything works perfectly, but when using .htaccess access control authenticated user's name and password are not stored in $PHP_AUTH_USER and $PHP_AUTH_PW, nor they are available somewhere in $_SERVER array. I could not find anything on how to make these variables available.

I have not changed anything in the configuration files. The only addition is that the new PHP has GD2 enabled, but i doubt that it causes the problem.

Any help would be appreciated! Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top