Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7611 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46226 invoked by uid 1010); 5 Feb 2004 10:40:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 46202 invoked from network); 5 Feb 2004 10:40:50 -0000 Received: from unknown (HELO gw2.emini.dk) (192.38.9.232) by pb1.pair.com with SMTP; 5 Feb 2004 10:40:50 -0000 Received: from localhost (localhost [127.0.0.1]) by gw2.emini.dk (Postfix) with ESMTP id 12CC62BE; Thu, 5 Feb 2004 11:40:50 +0100 (CET) Organization: Emini I/S To: Rasmus Lerdorf , internals@lists.php.net Date: Thu, 5 Feb 2004 11:40:49 +0100 User-Agent: KMail/1.5.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200402051140.49928.edink@emini.dk> Subject: Re: [PHP-DEV] php-cgi command line switch memory check From: edink@emini.dk (Edin Kadribasic) On Thursday 05 February 2004 12:26 am, Rasmus Lerdorf wrote: > #!/usr/local/bin/php-cgi -d include_path=/path > ... > ?> > > 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