I am brand new to this list but I have used PHP a little
Yes - you can use PHP 3 in stand alone mode
Issues:
1) The usage claimed to be able to set variables on the command
line. I was able to set one but not more than that - basically
I just ended up creating a temporary wrapper script
2) I was actually doing this from inside Python, which was in turn
being run as a CGI. To actually get the PHP to run command
line I had to unset a subset of the HTML variables in the
system call( which I can't recall off the top of my head )
Regs
Brian White
At 12:54 PM 1/11/01 -0600, Jason Murray wrote:
>Jesus Climent wrote:
> > Is it possible to have a "php" executable to generate static
> pages >instead of using the apache to generate the dynamic pages every
> time >a connection is received?
>...
>PHP 4 has a stand alone interpreter. If you have installed the cgi bit
>of PHP 3, then you have an interpreter in your cgi-bin directory. I'm
>not entirely sure about PHP 3... I'm trying to remember what a friend
>told me once. Since you are wanting something stand alone, do not forget
>that you can use other languages, too.
-------------------------
Brian White
Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy
http://www.steptwo.com.au/
[EMAIL PROTECTED]
--
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]