windows - Compiling a php extension into a dll -


i've been attempting last few days make use of operator overloading extension (pecl.php.net/package/operator), has apparently been updated compatible 5.3 , 5.4.

i've tried compiling in windows (64-bit windows 7) using this guide, php 5.4 , windows sdk 7.1 without luck. tried doing php 5.3 , windows sdk 6.1 , can compile config "configure --disable-all --enable-cli --enable-operator" , "nmake". problem doesn't produce dll file operator extension, instead is this, apparently useless me. want dll can use local wampserver setup.

i had had fatal errors when trying use operator-0.4.1 pecl.php.net site, instead downloaded , compiled git repository (github.com/php/pecl-php-operator), produced .obj, .idb , .sbr files.

you have do

configure --disable-all --enable-cli --enable-operator=shared 

otherwise it's statically compiled.

anyway, if want use wampserver, binary not work because if i'm not mistaken wampserver compiled against vc10 c runtime library, while guide linked instructs use visual studio 2008 (which comes vc9). you'll need use vc10 compiler (i think it's bundled windows sdk 7.1, can download , skip visual studio).


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -