Re: Using php5ts.lib in 5.3.0beta2-dev snapshot

From: Date: Tue, 17 Mar 2009 03:29:10 +0000
Subject: Re: Using php5ts.lib in 5.3.0beta2-dev snapshot
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-29206@lists.php.net to get a copy of this message
Jeff McKenna wrote:
Hello, I am using the 'php5ts.lib' file included in the "VC9 x64 Thread Safe" 5.3.0beta2-dev snapshot (from http://windows.php.net/snapshots/), downloaded 2009-Mar-15, to build a module...but when I try to load the module using those same PHP binaries I get the following error: php -v
    PHP Warning:  PHP Startup: MapScript: Unable to initialize module
    Module compiled with build ID=API20090115,TS
    PHP    compiled with build ID=API20090115,TS,VC9
    These options need to match
Is it possible that the 'php5ts.lib' file included in that snapshot was not used to make those binaries? Or, does someone see my mistake? (where is this mysterious "VC9" ID coming from?) thanks for any advice. -jeff
For the record, this build_id value is set in the /main/config.w32.h file, such as: /* Compiler compatibility ID */ #define PHP_COMPILER_ID "VC9" That magic did the trick for me :) -jeff -- Jeff McKenna FOSS4G Consulting and Training Services http://www.gatewaygeomatics.com/

« previous php.windows (#29206) next »