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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to