Page 1 of 1

httpd authentication problem

Posted: Tue May 05, 2009 7:36 am
by dev_silent
I am on the process of migrating php-4.3 to php 5.1 on centOS 5.2. After migrating I found that, httpd authentication is not working. $_SERVER['PHP_AUTH_USER'] & $_SERVER['PHP_AUTH_PW'] returns blank.register_globals is turned on in my php.ini. O searching in net, I found that httpd authentication is not work if php is installed as CGI. How can I find that whether my php is installed as CGI or Apache module? If it has installed as CGI, should I need to remove both apache (2.0) and php and re-install the same? How to install php as apache module through yum?

Any help will be highly appreciated.

Regd,

Thanks.