Re: [INTERNALS-WIN] Compiling memcache and APC for PHP 5.6
[email protected] ("Anatol Belski") Thu, 15 May 2014 20:09:16 +0200
| Newsgroups | php.internals.win |
|---|---|
| Message-ID | <[email protected]> |
Hi Jorge, On Thu, May 15, 2014 19:08, Jorge F. Hernandez wrote: > Hey guys, > > > Does anybody know what can cause this? > > > When I try to compile memcache and APC PECL extensions for PHP 5.6 I get > this: > > > MEMCACHE: > > > Creating library Release_TS\php_memcache.lib and object > Release_TS\php_memcache.exp > memcache_pool.obj : error LNK2019: unresolved external symbol _compress > referenced in function _mmc_compress memcache_pool.obj : error LNK2019: > unresolved external symbol _uncompress referenced in function > _mmc_uncompress > Release_TS\php_memcache.dll : fatal error LNK1120: 2 unresolved externals > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual > Studio 11.0\VC\BIN\cl.exe"' : return code '0x2' > Stop. > > > APC (some lines erased - Warnings, not errors): > > > ..\pecl\APC-3.1.13\apc_bin.c(487) : error C2065: 'IS_CONSTANT_ARRAY' : > undeclared identifier ..\pecl\APC-3.1.13\apc_bin.c(487) : error C2051: case > expression not constant NMAKE : fatal error U1077: '"C:\Program Files > (x86)\Microsoft Visual > Studio 11.0\VC\BIN\cl.exe"' : return code '0x2' > Stop. > > > I'm using the latest versions of each. > > > ALSO: > > > APC won't compile for PHP 5.5 either, I tried version 3.1.9 and 3.1.13 > > > ..\pecl\APC-3.1.9\apc_zend.c(170) : error C2039: 'Ts' : is not a member > of '_zend_execute_data' > d:\php-sdk\php55dev\vc11\x86\php-5.5.12-src\zend\zend_compile.h(384) : > see declaration of '_zend_execute_data' > d:\php-sdk\php55dev\vc11\x86\php-5.5.12-src\zend\zend_compile.h(384) : > see declaration of '_zend_execute_data' > d:\php-sdk\php55dev\vc11\x86\php-5.5.12-src\zend\zend_compile.h(384) : > see declaration of '_zend_execute_data' ..\pecl\APC-3.1.9\apc_zend.c(171) : > error C2039: 'Ts' : is not a member of '_zend_execute_data' > d:\php-sdk\php55dev\vc11\x86\php-5.5.12-src\zend\zend_compile.h(384) : > see declaration of '_zend_execute_data' NMAKE : fatal error U1077: > '"C:\Program Files (x86)\Microsoft Visual > Studio 11.0\VC\BIN\cl.exe"' : return code '0x2' > Stop. > > 5.4 is the latest PHP version APC is compatible with. Since 5.5 became opcache APC wasn't developed actively. You can try your luck with trunk but I really doubt it'll bring some better result. Regards Anatol