Re: where php at?

From: Date: Mon, 27 Mar 2006 19:59:16 +0000
Subject: Re: where php at?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-232654@lists.php.net to get a copy of this message
try creating a file called "which.php" have it contain the following; <?php $result = exec("which php"); echo $result; ?> Upload it to your website and execute it in your browser. I uploaded it to my RedHat Linux server and it showed the following; /usr/local/bin/php Warren:
Bingo -- that did it -- mine is: /usr/local/bin/php as well. Now, to figure out what command I need to run a php script from there. Thanks -- one step closer. tedd -- -------------------------------------------------------------------------------- http://sperling.com

« previous php.general (#232654) next »