On Thu, May 30, 2002 at 04:17:58PM -0400, Steve Clay wrote:
> Hello,
>
> On winNT I have Personal Web Server, PHP4.1.1, MySQL.
> My target is Apache1.3, PHP4.2.2, Perl, MySQL.
Delete PHP 4.1.1
Download Apache and install.
Download Perl and install.
Download PHP and install.
Edit Apache's httpd.conf file:
AddType application/x-httpd-cgi .cgi
Action application/x-httpd-cgi "c:/perl/bin/perl"
ScriptAlias /cgi-bin/ "c:/perl/bin/perl"
ScriptInterpreterSource registry
AddType application/x-httpd-php .html .php
Action application/x-httpd-php "/phpxyz/php.exe"
ScriptAlias /phpxyz/ "c:/Program Files/php4/"
Open up Windows Explorer: View | Options | File Types. Now, add/or
edit the Registered File Types for the files you want parsed by Perl.
"Edit" the command for the "open" action by put the following in the
"Application used to perform action" box:
c:\Perl\bin\Perl.exe "%1" %*
Of course, put Apache in your system's services startup list, as per
Apache's instructions.
If you already have Apached started, your changes to httpd.conf don't
take effect till the next startup. If you're editing the file while
it's running, make sure to make a backup, because errors in the file can
stop Apache from shutting down.
Pretty simple.
I don't belive there's a need to uninstall PWS, though you might want to
turn it off.
Enjoy,
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php