Re: [PHP4BETA] Win32 - bleah
[email protected] ("Phil Driscoll")
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
To get php 4 running as a cgi under Apache: Download apache win32 binaries from the apache site and install it as a service - there's a very straightforward installshield style installer. From memory, I think you end up having to go into the service control manager to tell apache to startup automatically. Download the php4 win32 binaries from the php site and unzip the files to somewhere on your machine. Edit the php.ini-dist file accordingly and save it as php.ini in your winnt folder. Edit the httpd.conf file - here are the php specific lines from mine: ScriptAlias /php "F:/php/php4/php.exe" AddType application/x-httpd-php3 .phtml AddType application/x-httpd-php3 .html AddType application/x-httpd-php3 .php Action application/x-httpd-php3 /php/ Hey presto! You should ba able to get php4 running as an apache module, but as I haven't tried to do that yet, I can't advise. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org