Re: php-cgi command line switch memory check
| From: | Edin Kadribasic | Date: | Thu, 05 Feb 2004 10:40:49 +0000 |
| Subject: | Re: php-cgi command line switch memory check | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7611@lists.php.net to get a copy of this message | ||
On Thursday 05 February 2004 12:26 am, Rasmus Lerdorf wrote:
> #!/usr/local/bin/php-cgi -d include_path=/path
> <?php
> ...
> ?>
>
> and have it work both from the command line and from a web context.
Just a side note.
This does not work on most systems due to kernel limitation on shebang line.
Most systems accept only one argument, and some even limit the length of
that. The only system that I know of which does support this is FreeBSD.
Edin