hello, Ive installed 4.3.4 package on OSX server and im trying to run a php script from the commandline but it doesnt work. I try whereis php and it returns nothing. and look in /usr/bin/ where is should be and its not there. Is there another way to find where my php is so i can path to it and run it ?
thanks in advance ryan
you could try:
find / -name php -print
from the command line
awesome! thanks.
i created a link to it into my /usr/bin now my php runs from the command line and in a #!/bin/csh shell script
but if i hit the schell script from a php page in a browser with a shell_exec command. it doesnt work... any ideas ?