Re: pear(1): Could not open input file.

From: Date: Tue, 25 Jun 2002 14:17:04 +0000
Subject: Re: pear(1): Could not open input file.
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7342@lists.php.net to get a copy of this message
> Date: Tue, 25 Jun 2002 15:48:09 +0200 > From: "Tomas V.V.Cox" <cox@idecnet.com> > To: Roman Neuhauser <neuhauser@bellavista.cz> > CC: pear-dev <pear-dev@lists.php.net> > Subject: Re: [PEAR-DEV] pear(1): Could not open input file. > > Umm, seems that FreeBSD doesn't allow such interpreter > (#!@prefix@/bin/php -Cqd include_path=@include_path@), I've changed it > in CVS. Thanks for the report. it looks like you didn't bother reading the patch I sent along the mail, or even the message for that matter. revert your commit, it doesn't help anything. i'm attaching the patch again. > Roman Neuhauser wrote: > > Hm, I figured it out. What was puzzling me was that that message > > seemed to match one thrown in a method somewhere in Pear, but turned > > out to be caused by unknown options in the shebang, IOW, coming from > > the PHP itself. > > > > Patch attached, but note that I don't know if this is actually the > > preferred fix. Reading Makefile it looks like the CGI SAPI is > > installed under the name "php-cgi", so this should be it. -- FreeBSD 4.6-STABLE 4:13PM up 1 day, 13:13, 9 users, load averages: 0.21, 0.12, 0.05

Commit message: the CLI SAPI doesn't have C or q options (anymore). Index: pear.in =================================================================== RCS file: /repository/php4/pear/scripts/pear.in,v retrieving revision 1.60 diff -u -u -r1.60 pear.in --- pear.in 16 Jun 2002 05:43:48 -0000 1.60 +++ pear.in 23 Jun 2002 16:24:28 -0000 @@ -1,4 +1,4 @@ -#!@prefix@/bin/php -Cqd include_path=@include_path@ +#!@prefix@/bin/php -d include_path=@include_path@ <?php // -*- PHP -*- // // +----------------------------------------------------------------------+
« previous php.pear.dev (#7342) next »