Reply to Re: How do you find the path to the php executable?

Your name:

Reply:


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/>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация