Windows Build (VC11 x64 PHP 5.5)

Hey there!

I compiled phalcon 1.2.3 for Windows. As stated in the title, it's for the VC11 x64 5.5 version (I compiled it with 5.5.1, but it should work with 5.5.2, 5.5.3 and even 5.5.0 as well).

Here ist the github link (sorry, I have no other option to distribute it elsewhere): https://github.com/boast/phalcon-win

VirusTotal Link (as it is a .dll file...): https://www.virustotal.com/en/file/8cec60c66f846a99ac0b6a6010f336f6e9fcbf2f251673e3257fbfd1a209f367/analysis/1379188332/

Checksums: SHA-256: 8cec60c66f846a99ac0b6a6010f336f6e9fcbf2f251673e3257fbfd1a209f367 MD5: 1c7f08ce5fc88780e69670c057046369 SHA-1: f3b93c1639d27b22cfc2a33c901f542b21e4bea9

Have fun!



85.4k

Thanks David, we're having some trouble compiling for PHP 5.5, could you please post the compilation libraries and commands that worked for you?

edited Mar '14

No problem:

I followed more or less http://internals.phalconphp.com/en/latest/reference/compilation.html and https://wiki.php.net/internals/windows/stepbystepbuild , with the following changes:

I could redo the compilation and make some notes (I can't remember every step...) - if you still have problems.

[edit] Ah jeah, I put the phalcon build files into "C:\php-sdk\phpdev\vc11\x64\ext\phalcon", inside there are phalcon.c, phalcon.h, php_phalcon.h, config.m4 and config.w32

@hgabe It looks to me as you maybe mixed up some versions. Note that the PHP Minor Version (e.g. 5.5) AND the target System architecture (x86, x64) must match each your compiled extension (and all used tools) as well as your installed PHP version.

So to debug:

  • What does your PHP-Info say about Version (at the very top), Compiler and Architecure?
  • In your PHP Sources, there should be a file called "Makefile" (C:\php-sdk\phpdev\vc11\x64 or C:\php-sdk\phpdev\vc11\x86 - adjust your paths respectively). The first few lines should tell you again the PHP version, Compiler and Architecture.
  • Did you copy the right phalcon files from the "build" folder, matching your Architecture?

If those entries don't match, PHP cannot "read" the generated extension.



1.6k

Architecture : x86 MSVC11 (Visual C++ 2012)