really thanks for your help...
I did what you said... my httpd.conf has now these lines (may i have an
incorrect apache version? i've got 1.3 and php asks for 1.3.x):
ScriptAlias /php/ "C:/servers/server1/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
when i run php hola.php, it shows the right lines, but when i run it with my
browser, it gives a 500 error... an in the error log, appear these lines:
[Thu Jul 26 11:10:17 2001] [error] [client 127.0.0.1]
c:/servers/server1/php/hola.php is not executable; ensure interpreted
scripts have "#!" first line
[Thu Jul 26 11:10:17 2001] [error] [client 127.0.0.1] (2)No such file or
directory: couldn't spawn child process: c:/servers/server1/php/hola.php
It asks for a #! line... i've got perl... does it matters?
if i add #!/php/php.exe, the script runs, but it prints into the browser
this line...
do you know what's wrong?
REALLY THANKS FOR YOUR HELP
aLmAgEdOn
Phil Driscoll <[EMAIL PROTECTED]> escribi� en el mensaje de noticias
[EMAIL PROTECTED]
> On Thursday 26 July 2001 02:15, aLmAgEdOn wrote:
> > Hi everyone...
> >
> > I'm really a newbie in PHP. I've got Perl running in Apache (NT 4,
> > workstation), 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...
> That's a mixture of configuration for the cgi and teh module version.
> If you want to run the cgi version, you need to get rid of the loadmodule
> line and add:
> Action application/x-httpd-php "/php/php.exe"
>
> If you want to run the module version, get rid of the script alias and
make
> sure you copy php4ts.dll to winnt/system32.
>
> Cheers
>
> --
> Phil Driscoll
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]