dev_silent wrote:register_globals is turned on in my php.ini
Might I recommend that you disable this directive? It has been disabled by default and even removed from future versions of PHP due to the security risks it presents. More info on that can be found here: [man]security.globals[/man].
dev_silent wrote: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?
Yep; Apache can't pass that information if PHP is called as a separate executable. To check how PHP was installed, simply do a phpinfo(); look for the "Server API" row in the very first table. That should tell you whether your'e using CGI (/FastCGI) or an Apache Module/Handler (I can't remember the exact wording offhand).
EDIT: Threads merged. Please do not crosspost the same thread across multiple forums.