Building PHP with Microsoft Visual Studio 2005 Express
Posted: Thu Apr 05, 2007 1:59 pm
I'm not really interested in building Windows, per-say, as the binaries distributed by the PHP website are good enough. However, I need to build an extension against a different external library on Windows, and it seems the only way to do that is piggy-back off of PHP's build process.
The most accessible version of Microsoft Visual Studio is "Express 2005", which is not what the build instructions for Windows specify, but it's a later version so it should work? Apparently not: this version appears to be missing the MC.exe executable, or Message Compiler, so nmake fails. I'm not sure if this is because I'm using the "Express" version, or I have a corrupt install.
I'm currently trying to get my hands on VS6, which apparently is much better supported and will go more smoothly, but it's tough to find. Has anyone ever successfully compiled PHP on Windows?
The most accessible version of Microsoft Visual Studio is "Express 2005", which is not what the build instructions for Windows specify, but it's a later version so it should work? Apparently not: this version appears to be missing the MC.exe executable, or Message Compiler, so nmake fails. I'm not sure if this is because I'm using the "Express" version, or I have a corrupt install.
I'm currently trying to get my hands on VS6, which apparently is much better supported and will go more smoothly, but it's tough to find. Has anyone ever successfully compiled PHP on Windows?