Yes, I've done that but I'd like to have it load directly in Netscape.
This shouldn't be this difficult :-) and I'd like to learn something
in the process about Apache/PHP configuration - I just can't find
anything that explains the setup.  Also, if I'm going to use PHP at
work, I think I'll have to use it as a CGI program since they use
SWS, not Apache.

I really have spent time looking at the PHP site, their mailing list
archives, and the Apache web site, but can't find anything that tells
me what I need to know. 

Dave


> From: Charles Galpin <[EMAIL PROTECTED]>
> 
> 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.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to