delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/11/09/10:46:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=AWL,BAYES_00,BOTNET
X-Spam-Check-By: sourceware.org
Message-ID: <4EBAA016.5080205@bopp.net>
Date: Wed, 09 Nov 2011 09:45:26 -0600
From: Jeremy Bopp <jeremy AT bopp DOT net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Pass windows-style paths to the interpreter from the shebang line ?
References: <j9dvqh$u92$1 AT dough DOT gmane DOT org> <20111109152944 DOT GK15154 AT calimero DOT vinschen DOT de>
In-Reply-To: <20111109152944.GK15154@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 11/9/2011 09:29, Corinna Vinschen wrote:
> That's not as easy as it may sound.  What about creating wrapper scripts
> with the same name in another dir and put that dir in front of the other
> bin dir in $PATH?  The wrapper scripts could be shell scripts which use
> `cygpath -wa' to convert the path to DOS notation and then call php.
> 
> I'm surprised that we don't have php in the Cygwin distro.  Did nobody
> try to port php to Cygwin yet?

It looks like php is available in Cygwin Ports.  I've not tried it to
see how well it behaves though.

-Jeremy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019