Date: 04/23/00
- Next message: Andi Gutmans: "[PHP-DEV] strchr()"
- Previous message: Andi Gutmans: "[PHP-DEV] Re: A definite bug! (fwd)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I have a sneeking suspicion that this is not
directly php4's problem but cygwin's problem.
Because I needed a module version of php4 on
my win95 box I recently compiled the cygwin version
of Apache and PHP4b2 avaliable here:
http://www.student.uni-koeln.de/cygwin/
Everthing went great and compiled without a hitch.
But I noticed that I was experiencing file copy()
problems with my existing scripts.
What I found out is that the file is being copied
but it is being tructuated to 486 bytes from whatever
the original size is. I then tryed, as a workaround,
to use cygwin's "cp" command from within php and that
takes Apache down alltogether.
I further discovered that it is not possible to fork
any shell process from within php such as with
popen() or system() etc which I think is a because...
>From the cygwin readme:
" A remaining problem on Windows 95 is that httpd isn't
able to fork() child processes cleanly. That's why
you have to set the -X switch when invoking httpd on
those platforms"
So I guess my question is ... does copy() fork an
external process? and if not, what approach would
you recomend I take to fix this with my existing
platform.
Thanks very much in advance.
Steve
----------------------------------------------------------------
Get your free email from AltaVista at http://altavista.iname.com
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andi Gutmans: "[PHP-DEV] strchr()"
- Previous message: Andi Gutmans: "[PHP-DEV] Re: A definite bug! (fwd)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

