Re: CGI or module
| From: | martinahingis | Date: | Mon, 01 Apr 2002 17:08:08 +0000 |
| Subject: | Re: CGI or module | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6523@lists.php.net to get a copy of this message | ||
Be sure that you have downloaded win32 binary zip package (not the
executable one) of php4 from www.php.net.
The executable one does not have the support for apache.
Once you extracted the zip packace to c:\php you will see 2 files there.
php.ini-dist. and php4ts.dll. First rename the firstone to php.ini. Then
copy both these to pu system directory (namely c:\windows\system32 or
c:\windows\system, or both :) )
The last thing is the Load Module thing to apache conf file, httpd.conf.
add these lines:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
"P Chase" <pchase@publishingarts.com> wrote in message
news:v01540b00b8cdfad48b2a@[207.97.189.10]...
> Hi,
>
> I installed PHP with Apache for Windows (ME).
> But I think it's running as CGI, and I was not
> able to install it as an Apache module. When I
> added the LoadModule command to httpd.conf,
> Apache would no longer start.
> What could be wrong?
>
> Polly
>
>