| 
 Posted by Tim Van Wassenhove on 12/04/06 18:52 
comp.lang.php schreef: 
> J.O. Aho wrote: 
>> comp.lang.php wrote: 
>>>  I am not able to find where the PHP executable is located on a shared 
>>> hosting platform used for one of the sites here at work, and Tech 
>>> Support appears to either not know or not want us to know where it's 
>>> found. This is for a required CLI PHP script that has been running on a 
>>> dedicated host for some time that they decided to move to a shared 
>>> hosting service. 
>> whereis php 
>> 
>  
> Thanx.. appears "which php" works as well! 
 
If i remember well this should work out to as she-bang line... 
 
#!/usr/bin/which php 
 
 
--  
Tim Van Wassenhove <url:http://www.timvw.be/>
 
  
Navigation:
[Reply to this message] 
 |