----- Original Message -----
From: "Jon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to