Dave
If you wan tto just test it from the command line, then just use it from
the command line
# /usr/local/bin/php first.php
skip the SSI
hth
charles
On Fri, 14 Jan 2000, Dave Reed wrote:
>
> I wanted to try learning PHP so I downloaded both the latest version 3
> release and the 4.0Beta3 release and tried installing them using the
> standard:
>
> ./configure --enable-discard-path;make;make install
>
> I've got a php.shtml file that contains:
> <!--#exec cmd="pwd" -->
> <br>
> <!--#exec cmd="/usr/local/bin/php first.php" -->
>
> where first.php is a very simple php file form the tutorial that works
> fine when I run it from the command line. But when I try to load the
> page php.shtml file in Netscape, all I get is:
>
> /home/dreed/HTML
> Content-Type: text/html No input file specified.
>
> So it looks like (to me) I've got Apache configured to work with exec
> cmd, but I must have something wrong with the php call or
> configuration. Can anyone tell me what I need to do or point me to
> specific documentation?
>
> All the documentation I can find assumes you have PHP installed an
> Apache module. I understand the performance reasons for making it a
> module, but for now I just want to experiment with it.
>
> Thanks,
> Dave
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.