# Windows build

- Thread: https://externals.io/message/27318
- Original archive: https://news-web.php.net/php.internals/27318
- Started by Andi Gutmans on 2007-01-07T02:24:13+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #27318 — Andi Gutmans — 2007-01-07T02:24:13+00:00

URL: https://externals.io/message/27318#27318

Btw, one more thing which we could consider doing (although it means more
work) is to do the nts build with VC 8 and the thread-safe build with VC 6.
It'd probably require another machine (either physical or virtual).

> -----Original Message-----
> From: Andi Gutmans [mailto:andi@zend.com] 
> Sent: Saturday, January 06, 2007 6:20 PM
> To: 'Edin Kadribasic'
> Cc: 'PHP Internals List'
> Subject: RE: [PHP-DEV] Windows build
> 
> Hi Edin,
> 
> The 2% surprises me a lot. We got very different results but 
> it might be due to different hardware, OS (we use Windows 
> Server 2003) and different tests. Here's what we got (all 
> non-threadsafe):
> 
>          vc2005  intel   msvc6   
> bench   9.326   9.378   10.28  
> hello   10.48   11.6    11.28 
> xoops   67.82   69.49   81.34   
> static  16.97   18.4    21.18 
> qdig    63.52   67.05   69.57  
> qdig2   14.4    15.61   19.04   
> 
> Btw, today I never recommend running mod_php on Windows and 
> always point people to CGI or existing FastCGI implementations.
> That said, I understand that you don't want to break things 
> right now and stick to VC 6. Although I know it can work in 
> some cases, I agree with you that running two CRTs is 
> probably not a great idea. While the interfaces of the CRT 
> functions might be identical, I am not sure all the 
> structures are the same and that could cause some ugliness if 
> we get structs like file handlers from the Apache executable 
> passed into PHP and vice-versa.
> 
> It's something worth looking into but not something one would 
> want to rush for a minor version like 5.2.1.
> 
> Andi
> 
> > […]
> binaries using
> > […]
> extensions. It 
> > […]
> Apache like 
> > […]
> improvement 
> > […]
> but I agree 
> > […]
> faster code (on 
> > […]
> get this 
> > […]
> work that 
> > […]
> runtime was 
> > […]
> will claim 
> > […]
