Installing PHP in WinNT and Apache 1.3
| From: | El Gerva | Date: | Wed, 25 Jul 2001 17:46:19 +0000 |
| Subject: | Installing PHP in WinNT and Apache 1.3 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-59584@lists.php.net to get a copy of this message | ||
Hi everyone...
I'm really a newbie in PHP. I've got Perl running in Apache, and i want to install PHP 4
(binary) too.
These are the lines i added to httpd.conf
ScriptAlias /php/ "C:/servers/server1/php/"
AddType application/x-httpd-php .php
LoadModule php4_module c:/php/sapi/php4apache.dll
And configured c:\winnt\php.ini as install help file explains...
It seems to run... (doesn't have any problem starting the service), but when I run a script, it
gives an 500 error... in the log, appears that the file hasn't, in the first line,
"#!"..... that it's used with perl...
people, i would appretiate a lot any help
Really thanX
aLmAgEdOn