See php.net for how to install both a CGI (binary) and an Apache module. I don't think they are both installed.
>Thank you very much for your reply, > >Apache 1.3.26(as a Module) + php had done, but when i use this index.php >file here to do an authenticate, it doesn't work >---------------------------------------------------------------- >if (!isset($PHP_AUTH_USER) && !isset($PHP_AUTH_PW)) > { > header("WWW-Authenticate: Basic realm=\"Password Protected\""); > Header("HTTP/1.0 401 Unauthorized"); >... >else if(($PHP_AUTH_USER=="admin") && ($PHP_AUTH_PW=="admin")) >... >------------------------------------------------------------ >when run index.php, it also appear a windows enquire username/password. But >after 3 times touch true username/password then it notice error page. Seem >Header or $PHP_AUTH_USER,... doesn't work >--------------------------------- >Please help me!. >Thanks a lots. >Longminh > >----- Original Message ----- >From: "Ezekiel" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Wednesday, August 14, 2002 3:44 PM >Subject: [PHP-INST] Re: help me install php4.2.2 on Apache2.0.40 for winXP > > >> I suggest you to install apache 1.3.26 instead of 2.0.40 because this new >> version is very bad implemented with php on win32. I have successed in >> installing php with apache 2.0.40 on win2K but you have many bugs on your >> page when you use php. >> >> Try 1.3.26 and it will work better. >> >> Ezekiel >> >> "Le Long Minh" <[EMAIL PROTECTED]> a écrit dans le message de news: >> 000201c242ba$5c434d20$[EMAIL PROTECTED] >> Hi everybody! >> I cannot install php4.2.2 as a module on apache2.0.40 server >> althought i had put 2 lines : >> >> LoadModule php4_module c:/php/sapi/php4apache2.dll >> AddType application/x-httpd-php .php .phtml .php3 >> >> in httpd.conf >> >> after then, read error log file receive notice is: >> >> Syntax error on line 493 of C:/Apache2/conf/httpd.conf: >> Cannot load C:/php/sapi/php4apache2.dll into server: The specified module >> could not be found. >> >> Thank for your help. >> >> >> >> >> >> -- >> PHP Install Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php