I Am Unable To obtain the fundamental HTTP Authentication to operate in PHP that is installed and dealing as FCGI. It really works perfectly when PHP is installed like a module though.

Can there be in whatever way I'm able to get results ???

I'm running PHP Version 5.2.6 in ubuntu.

if ( !$_SERVER['PHP_AUTH_USER'] ) {
    $this->getResponse()->setHeader('WWW-Authenticate',  'Basic realm="Testing"');
} else { 

Used to do try

[Rewrite rule on .htaccess]
 RewriteEngine on
 RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]

[user:pass on PHP-script]
list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode(':',     base64_decode(substr($_SERVER['REDIRECT_REMOTE_USER'], 6)));

however it does not appear to become working.