Jump to content

Recommended Posts

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?


Link to comment
https://forums.phpfreaks.com/topic/287782-build-php-on-windows-bug-49192/
Share on other sites

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.

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 by bsmither
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.