Re: PHP CLI

From: Date: Tue, 18 Oct 2011 08:25:29 +0000
Subject: Re: PHP CLI
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-31268@lists.php.net to get a copy of this message
Hello Alejandro, > I try to browse this script to know the cli php > version , but return the screen  in blank > <?php > echo which php; > // if this does not work, also try echo PHP_BIN; > ?> >   > How I can to know this? You are trying to run this php script via apache to find the php CLI executable? That probably will not work, because the $PATH variable is not set. Try to manually look in /bin/, /usr/bin/ and /usr/local/bin/. -- Regards/Mit freundlichen Grüßen Christian Weiske -=≡ Geeking around in the name of science since 1982 ≡=-

Attachment: [application/pgp-signature] signature.asc
« previous php.pear.general (#31268) next »