RE: NSAPI snaps build

[email protected] ("Uwe Schindler")
Newsgroups php.internals.win
Message-ID <37603D84E5424C1580719B3EF5DCCDBC@VEGA>
I forgot to say: I used alpha3, which still contained the VC9 nsapi module,
for testing :)

Uwe 

> I tested SJSWS 7.0u4 in Windows XP locally installed. The server starts
> correctly with VC6 and VC9. A phpinfo() page is displayed without
> problems,
> the NSAPI-specific dynamic linking of the undocumented webserver API for
> the
> virtual() call is working, and the only problematic "struct stat" symbol
> sharing is working correctly. This was checked with getlastmod() PHP
> function, that uses the stat cache of the webserver (which returns the
> pointer to a struct stat from VC6).
> 
> To enable it, you must install a shared msvcr90 (using the MS installer).
> Copying somewhere is too complicated (as the webserver runs in another
> directory as PHP and so the msvcr90.dll is not found on startup/module
> load.
> 
> So no problems with NSAPI, it is compatible with the sun webserver
> (version
> 7.0 using VC6 and msvcrt). It again shows, that it is possible, that two
> CRTs can be parallel in one process as long as no incompatible resources
> are
> shared between both.
> 
> A test with a real windows server is not needed, as the VC6/VC9 problem
> does
> not have to do anything with the OS kernel.
> 
> So please enable NSAPI again for both VC6 and VC9 thread-safe and mark it
> as
> officially supported by me :)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.