delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/15/20:08:13

X-Spam-Check-By: sourceware.org
Message-ID: <43CAF207.3090203@webtent.net>
Date: Sun, 15 Jan 2006 20:08:23 -0500
From: Robert Fitzpatrick <lists AT webtent DOT net>
Reply-To: robert AT webtent DOT com
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Running php scripts under cygwin
References: <43CA8A92 DOT 2000409 AT webtent DOT net> <1137355920 DOT 7806 DOT 251903339 AT webmail DOT messagingengine DOT com> <43CAB25B DOT 8070808 AT webtent DOT net> <43CAB584 DOT 49D4C018 AT dessent DOT net>
In-Reply-To: <43CAB584.49D4C018@dessent.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Brian Dessent wrote:
> Robert Fitzpatrick wrote:
>
>   
>> Thanks, yes, I want to use the script by cron, can you point out how
>> that will be done? I've found some cygwin cron stuff, but still no word
>> on exactly how I set that up under cygwin. I already thought I'd rewrite
>>     
>
> Install the cron package.  Read /usr/share/doc/Cygwin/cron.README.  Run
> /usr/bin/cron-config to install the service.  Start the service.
>
> >From there on everything works as it would on a unix system.  Edit the
> crontab file with "crontab -e", add the job, etc.
>
> BTW building a Cygwin PHP is no walk in the park.  Cygwin is not a
> supported platform by the PHP developers and their build system is so
> hacked up and brain dead that it does not understand simple things like
> the fact that binaries under win32 have the .exe extension.  It is
> relatively straightforward if you do a static build but to get a modular
> build you will probably have to delve into the guts of their painful
> build system.  Things might have changed in 5.x, but in 4.x it was a pit
> of hell.
>
> It would be much less work to just use native win32 PHP, which is
> actually supported and supposed to work.  Of course you will have to use
> win32 paths since it will not be a Cygwin application.
>   
Thanks for the tips. Luckily I came back to the list after trying to 
build PHP with some options with no luck. I only need a static build and 
that installed fine. Then I had a warning about using date() and set the 
default timezone prior to the call in the script to get by that. Now it 
says mail() is an unknown function. What is this missing?

--
Robert

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

- Raw text -


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