Re: PHP Authentication

From: Date: Mon, 26 Mar 2001 07:59:58 +0000
Subject: Re: PHP Authentication
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-45589@lists.php.net to get a copy of this message
----- Original Message ----- From: "Jon" <jzuazoa@nexo.es> To: <php-general@lists.php.net> Sent: Monday, March 26, 2001 1:38 AM Subject: [PHP] PHP Authentication > Hi, > > I have read that for using PHP authentication I must be able to user > variables such as $PHP_AUTH_USER that are only avaible when PHP is > installed as a module. On the other hand I am using APACHE 1.3.17 with PHP > 4.04 and I have configured Apache with the following lines: > > ScriptAlias /php4/ "C:/php/" > Action application/x-httpd-php4 "/php4/php.exe" > AddType application/x-httpd-php4 .php > > As I think it could be interesting to use this kind of authentication, I > need some help for configuring PHP as a module discarding the CGI version of > PHP that I think I am using with the lines of code above, so I would be very > grateful if anyone could give some help about configuring PHP this way. > > Thank everybody, > This is all I did added this to the module airea LoadModule php4_module d:/php/sapi/php4apache.dll and just uncomented this AddType application/x-httpd-php .php hope this helps

« previous php.general (#45589) next »