Date: 01/03/01
- Next message: Sadit Sathianpaisarn: "Re: [PHP-DEV] Problem about recompile php4 on rpm."
- Previous message: Joey Smith: "[PHP-DEV] QA and 4.0.4 comment"
- Next in thread: Zeev Suraski: "Re: [PHP-DEV] popen() on Win32"
- Reply: Zeev Suraski: "Re: [PHP-DEV] popen() on Win32"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
As some of you might know, popen() on Win32 doesn't work in non-console
mode (i.e. IIS). This means that all functions which rely on it don't work.
The way to implement it is using CreateProcess() and in some way try and
manually create the pipe between father/child. Before that you need to
allocate a Win32 pipe (with something like CreatePipe()) and possibly do
some other magic such as allocate a console (or not).
Is anyone here a
Win32 programmer with some spare time to mess around with it and can try to
get it to work. Another reference could be Apache 2.0's APR library. They
do it there but I'm not sure if they have the same initial problem where
Apache doesn't run on a Console. I remember 1.3.x does run on a console.
Volunteers? :)
Andi
-- 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: Sadit Sathianpaisarn: "Re: [PHP-DEV] Problem about recompile php4 on rpm."
- Previous message: Joey Smith: "[PHP-DEV] QA and 4.0.4 comment"
- Next in thread: Zeev Suraski: "Re: [PHP-DEV] popen() on Win32"
- Reply: Zeev Suraski: "Re: [PHP-DEV] popen() on Win32"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

