Re: Running php scripts under cygwin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Robert Fitzpatrick wrote:
I have a php script that I use for backup with rsync over ssh and those
tools work great under cygwin. I'd like to use this same script that I
use on my unix/linux servers.

You would think I could find lots of info on this subject, but for some
reason I can't. I found info from googling the subject and some mention
of building php with cygwin, but do not see PHP in cygwin setup. I hope
someone here has PHP running on cygwin and can perhaps point me to some
information or suggest how I can get my php script to run under cygwin,
hopefully via cron service. I am not sure if I need PHP in cygwin or can
access the php.exe already installed under Windows? I tried to run a php
script from a cygwin prompt using the php.exe installed into Windows,
but get lots of module not found errors. Is it possible to run a php
script under cygwin.

I know next to nothing about cygwin but It seems logical that you wou need
to have a php binary built specifically for the cygwin environment in order
to run your *nix script. I can also imagine that you might have to tweak your
script to take note of some of the differences between *nix and windows
filesystems (like the directory seperator).

from what I can gather (a quick web search) you should be able to download a
linux source tarball untar it, and then run through the configure/make/make install
procedure all from within your cygwin environment; with the a php build as a result.



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux