On Thursday 26 July 2001 02:15, aLmAgEdOn wrote:
> Hi everyone...
>
> I'm really a newbie in PHP. I've got Perl running in Apache (NT 4,
> workstation), and i want to install PHP 4 (binary) too.
>
> These are the lines i added to httpd.conf
>
> ScriptAlias /php/ "C:/servers/server1/php/"
> AddType application/x-httpd-php .php
> LoadModule php4_module c:/php/sapi/php4apache.dll
>
> And configured c:\winnt\php.ini as install help file explains...
That's a mixture of configuration for the cgi and teh module version.
If you want to run the cgi version, you need to get rid of the loadmodule
line and add:
Action application/x-httpd-php "/php/php.exe"
If you want to run the module version, get rid of the script alias and make
sure you copy php4ts.dll to winnt/system32.
Cheers
--
Phil Driscoll
--
PHP Install 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]