Re: Installing Php4.0 & Apache Under Windows NT
| From: | (Richard Lynch) | Date: | Wed, 12 Jul 2000 21:14:58 +0000 |
| Subject: | Re: Installing Php4.0 & Apache Under Windows NT | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6277@lists.php.net to get a copy of this message | ||
In article <200007101514.IAA04480@mail15.bigmailbox.com>,
kizadi@rahnema.com ("Sayyid Kamyar Izadi") wrote:
> Dear Sir/Madam
>
> I have installed Apache under NT
> I want to know how can i install PHP4.0 to work with apache.
>
> Can you tell me with full details?
Get php-4.0.1pl2.
Unzip the PHP stuff into c:\php4
Read the docs that come with it.
Short version of those docs:
Add ScriptAlias, AddType, and Action lines to httpd.conf (it's probably in
c:\Program Files\Apache Group\Apache\conf\httpd.conf)
I *think* the syntax (but read the docs to be sure) is:
ScriptAlias php4 "C:/php4"
AddType application/x-httpd-php .php
Action application/x-httpd-php "php4/php.exe"
Stop/Start Apache Web-Server.
If you can't find the PHP docs about these three, read on http://www.apache.org/
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)