Re: 4.0.3 as module on apache
| From: | Andy Hoffman | Date: | Thu, 12 Oct 2000 19:50:15 +0000 |
| Subject: | Re: 4.0.3 as module on apache | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3206@lists.php.net to get a copy of this message | ||
n e t b r a i n wrote:
> - I need to set LoadModule on httpd.conf for the php module?
> - If so, which is the right syntax ?
It's recommended that you leave the php module dll in the sapi folder from
your unzipped binaries... you'll need to set a ScriptAlias to reference the
main php4 directory anyway. Then, you'll add the following 3 lines to your
httpd.conf file (get rid of any other php4 lines before re-adding these)...
ScriptAlias /php/ "c:/php/"
LoadModule php4_module "/php/sapi/php4apache.dll"
AddType application/x-httpd-php .php .php3 .php4
Of course, the "c:/php/" is wherever you've unzipped the php4.0.3 binaries
to :)
--
Andy Hoffman
Web Developer
Bristol-Myers Squibb
email: andy.hoffman@bms.com