cygwin: php4b2 & apache1.3.9

Chris Faylor
Sun Apr 23 07:42:00 GMT 2000

On Sun, Apr 23, 2000 at 12:49:20AM -0400, wrote:
> ---- you wrote: 
>>On Sat, Apr 22, 2000 at 11:51:13PM -0400, 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
>>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


Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list