Date: Mon, 13 Mar 2006 12:39:54 +0100 From: "ml@sd2i.com" <ml@sd2i.com> To: freebsd-ports@freebsd.org Subject: Re: php-cli and php-cgi Message-ID: <44155A0A.6080108@sd2i.com> In-Reply-To: <20060313112325.GA50979@pentarou.parodius.com> References: <43E8BD2F.4080406@vizija.si> <43E8F730.3030207@rogers.com> <64046.193.77.156.117.1139349788.squirrel@mail.vizija.si> <20060227214247.GE97309@svcolo.com> <44154A73.4000705@vizija.si> <20060313112325.GA50979@pentarou.parodius.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy Chadwick a écrit : > > Presently, PHP doesn't offer a way for software or scripts (i.e. > GNU configure scripts) to determine which type is installed, as far > as I know... We're using the output of "php -v" and search for (cli) or (cgi) : %php -v|grep '(cgi)'|wc -l 1 %php -v | grep '(cli)' | wc -l 0 Maybe it's also possible to use the output of "php -h" that present -q or -C options for cgi version only
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44155A0A.6080108>