Re: Installing PHP on WinNT and Apache 1.3

From: Date: Thu, 26 Jul 2001 06:07:16 +0000
Subject: Re: Installing PHP on WinNT and Apache 1.3
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-3710@lists.php.net to get a copy of this message
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

« previous php.install (#3710) next »