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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux