I'm not even sure that the shell escape is even used in win32 perl - I think
it's done via a regular file association. I clearly remember setting it to
#!/some/fake/rubbish one time as a test and it still worked fine

I imagine the same would go for php.exe

jason



> Do you normally have #!perl.exe as your shebang?
>
> Normally I'd see something like #!/usr/local/bin/perl or
> #!/usr/local/bin/php
>
> not sure of pathing issues on Windows for that.
>
> #!c:\program files\php4\php.exe
> ?
>
>
> "Patrick L. Olson" wrote:
>
> > I must be missing something while I had no problem getting
> > perl and SSI working getting PHP to work is eluding me
> > for some reason. I have added this to httpd.conf
> > can someone enlighten me on what may be missing
> >
> > # And for PHP 4.x, use:
> >     #
> >     AddType application/x-httpd-php .php
> >     AddType application/x-httpd-php-source .phps
> >
> > if I call it like http://127.0.0.1/cgi-bin/one.php
> > with the shebang line #!php.exe
> > I get the following error
> > No input file specified
> > if I call it without the shebang I get
> > the Internal Server Error
> > Error logs indicate the the #! is needed
> > if I call it in the web root as
> > http://127.0.0.1/one.php4
> > it prints the code to the screen
> > any insight welcome
> >
> > Thanks
> > going to RRTFM :)




-- 
PHP General 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]

Reply via email to