You are here: Re: [PHP] Running php scripts under cygwin « PHP « IT news, forums, messages
Re: [PHP] Running php scripts under cygwin

Posted by Jochem Maas on 10/02/74 11:37

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.

>

 

Navigation:

[Reply to this 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

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