Andrey Repin wrote:
Greetings, Timothy Madden!
I would like to write a php script to run from my cygwin command line.
I have the php CLI executable (php.exe) in PATH and I use
#!/bin/env php
as the first line of the .php script, and make it executable.
Dearly use Windows native
On Nov 9 19:14, Yaakov (Cygwin/X) wrote:
On Wed, 2011-11-09 at 16:50 +0100, Corinna Vinschen wrote:
On Nov 9 09:45, Jeremy Bopp wrote:
On 11/9/2011 09:29, Corinna Vinschen wrote:
I'm surprised that we don't have php in the Cygwin distro. Did nobody
try to port php to Cygwin yet?
On 10.11.2011 03:27, Andrey Repin wrote:
Greetings, Timothy Madden!
I would like to write a php script to run from my cygwin command line.
I have the php CLI executable (php.exe) in PATH and I use
#!/bin/env php
as the first line of the .php script, and make it executable.
Dearly
Greetings, Timothy Madden!
As Linda said, I would like to be able to execute my new script from a
cygwin prompt and from a sh script, with a command like
parseLog.php/logfile/
Fine.
For this to work, I think I need the shebang line.
For cygwin, seems so.
So I tried #! php
Hello
I would like to write a php script to run from my cygwin command line.
I have the php CLI executable (php.exe) in PATH and I use
#!/bin/env php
as the first line of the .php script, and make it executable.
The problem is that bash will than invoke the Win32 native php.exe
binary
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
On Nov 9 09:45, Jeremy Bopp wrote:
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
Sorry to reply again, but I hit send too early...
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
On 11/9/2011 2:39 PM, Timothy Madden wrote:
Hello
I would like to write a php script to run from my cygwin command line.
I have the php CLI executable (php.exe) in PATH and I use
#!/bin/env php
as the first line of the .php script, and make it executable.
The problem is that bash will than
On Nov 9 15:39, Timothy Madden wrote:
Hello
I would like to write a php script to run from my cygwin command line.
I have the php CLI executable (php.exe) in PATH and I use
#!/bin/env php
as the first line of the .php script, and make it executable.
The problem is that bash will
On 11/09/11 07:29, Corinna Vinschen wrote:
I'm surprised that we don't have php in the Cygwin distro. Did nobody
try to port php to Cygwin yet? Corinna
Hear, hear!
--
Andrew DeFaria http://defaria.com
Making music should not be left to the professionals. - Michelle Shocked
--
Problem
On 09.11.2011 17:45, Jeremy Bopp wrote:
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
On Wed, Nov 09, 2011 at 11:15:47PM +0200, Timothy Madden wrote:
On 09.11.2011 17:45, Jeremy Bopp wrote:
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
On Wed, 2011-11-09 at 16:50 +0100, Corinna Vinschen wrote:
On Nov 9 09:45, Jeremy Bopp wrote:
On 11/9/2011 09:29, Corinna Vinschen wrote:
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
Greetings, Jeremy Bopp!
Does php not have an equivalent of the -S option (search the PATH for
the named script) that perl and ruby have? I've used that many times to
deal with cases where people have Windows-native builds of those tools
instead of the Cygwin ones for whatever reason.
It
Greetings, Timothy Madden!
I would like to write a php script to run from my cygwin command line.
I have the php CLI executable (php.exe) in PATH and I use
#!/bin/env php
as the first line of the .php script, and make it executable.
Dearly use Windows native version of PHP
And
16 matches
Mail list logo