Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Sun, 23 Apr 2000 10:42:11 -0400 To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: cygwin: php4b2 & apache1.3.9 Message-ID: <20000423104211.B5811@cygnus.com> Reply-To: cygwin AT sourceware DOT cygnus DOT com Mail-Followup-To: cgf AT cygnus DOT com, cygwin AT sourceware DOT cygnus DOT com References: <0004230049205P DOT 26167 AT weba7 DOT iname DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.12i In-Reply-To: <0004230049205P.26167@weba7.iname.net>; from steve1800@iname.com on Sun, Apr 23, 2000 at 12:49:20AM -0400 On Sun, Apr 23, 2000 at 12:49:20AM -0400, steve1800 AT iname DOT com wrote: > ---- you wrote: >>On Sat, Apr 22, 2000 at 11:51:13PM -0400, steve1800 AT iname DOT com wrote: >>>I compiled the above and everthing was running very smoothly untill I >>>attemped to use the php4 "Copy()" function. >>> >>>Copy() appears to copy the file, but it corupts the file in the >>>proccess. >> >>This is probably due to the file being opened in "text mode". If the >>program is using fopen, then it needs to add a "b" > >Thanks for your responce. > >I'm not using fopen(), just copy() and only testing that command by >itself. I imagine php's copy is just the shells "cp". Why would you "imagine" that? I imagine that it is not doing that at all. >Also I'd like to say that i'm finding that the >cygwin-apache/php4 crashes on any/all shell >commands executed from within php. Obviously, no one will be able to debug this with just a one sentence description of the error. Sorry. Your best bet is to fire up gdb and figure out why all of this is happening. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com