Pachecoleal25 Posted April 15, 2014 Share Posted April 15, 2014 I tried to follow this tutorial (http://www.kshabazz.net/build-php-on-windows.html) to build php source code on windows many times but when i do "nmake test" appears an error message: "PHP crashes when GC invoked on COM object" I tried with different versions of php (5.5 and 5.6) and windows x86 and x64 but the errors are the same. I searched to find some information about the error and a open the file (/ext/com_dotnet/tests/bug49192.phpt) and then i saw the possibile solution for the problem, with an installer that fix the bug on windows 7. But the error still appear. That folder contains some bug files. In the next step, when i do "nmake snap" shows a error message too and every times that i execute this command appears that the "msvcr110.dll" is missing so a fix that but the still not working. Anyone know this problems? Quote Link to comment Share on other sites More sharing options...
Ch0cu3r Posted April 15, 2014 Share Posted April 15, 2014 Why are you compling PHP on windows? You can get windows versions of PHP from windows.php.net Also when downloading PHP do not use the installer. Simply Download, unzip and extract. PHP is installed. The tricky bit is configuring PHP with a HTTP server. Quote Link to comment Share on other sites More sharing options...
Pachecoleal25 Posted April 16, 2014 Author Share Posted April 16, 2014 I know that. I'm compiling php because i need it to build an extension with my functions and the only way to do that that i saw was compiling the php. Quote Link to comment Share on other sites More sharing options...
trq Posted April 16, 2014 Share Posted April 16, 2014 You can build your extension alone, no need to compile php in its entirety. Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 19, 2014 Share Posted April 19, 2014 (edited) Allow me to jump in on this: I, too, need to compile PHP (on Server 2008) because to the best of my ability, I cannot find a pre-compiled binary with FPM enabled. So, I'm going through the motions, reading what little current info there is -- and I am stuck. The display of configure --help does not show the fpm configure switch. The source folder for fpm is in the sapi folder. How do I get the compiler's configure doohicky to see the fpm source? And if I can compile FPM as a shared DLL (loaded via the [extensions] in php.ini), how does that happen? Edited April 19, 2014 by bsmither Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.