httpd authentication problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dev_silent
Forum Newbie
Posts: 3
Joined: Tue May 05, 2009 7:01 am

httpd authentication problem

Post 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.
Post Reply