views:

4319

answers:

4

Hello all, I recently setup a server using the latest version of XAMPP for Windows. With it came PHP 5.3. I'm now looking for a memcache.dll file that works with PHP 5.3 I've used some of the previous .dll files and recieved an error message:

"PHP Startup: memcache: Unable t initialize module.
Module compiled with module API=20060613
PHP compiled with module api=20090626
These options need to match"

Any links to a PHP 5.3 memcache.dll file would be greatly appreciated.

Thanks for the help!

+4  A: 

http://downloads.php.net/pierre/

Specifically, I expect you want php_memcache-cvs-20090703-5.3-VC6-x86.zip.

I'm sure the pecl4win builds will come back some day :)

Alex Barrett
Thank you both for your replies! This is the exact binary I needed!
whobutsb
+2  A: 

Hi,

There are compiled extension available from http://downloads.php.net/pierre/

Amongst those, you'll find :

  • php_memcache-cvs-20090703-5.3-VC6-x86.zip (2009-07-03 05:30 -0700)
  • php_memcache-cvs-20090703-5.3-VC9-x64.zip (2009-07-03 05:45 -0700)
  • php_memcache-cvs-20090703-5.3-VC9-x86.zip (2009-07-03 06:11 -0700)
  • php_memcache-cvs-20090703-5.3-nts-VC6-x86.zip (2009-07-03 05:29 -0700)
  • php_memcache-cvs-20090703-5.3-nts-VC9-x64.zip (2009-07-03 05:35 -0700)
  • php_memcache-cvs-20090703-5.3-nts-VC9-x86.zip (2009-07-03 06:07 -0700)

Depending on the version of PHP 5.3 you are using, one of those might do ;-)


If you don't know which one you should choose, take a look at the "Which version do I choose?" block on the left of http://windows.php.net/ (quoting) :

If you are using PHP with Apache 1 or Apache2 from apache.org you need to use the VC6 versions of PHP

If you are using PHP with IIS you should use the VC9 versions of PHP

VC6 Versions are compiled with the legacy Visual Studio 6 compiler

VC9 Versions are compiled with the Visual Studio 2008 compiler and have improvements in performance and stability. The VC9 versions require you to have the Microsoft 2008 C++ Runtime (x86) or the Microsoft 2008 C++ Runtime (x64) installed

Do NOT use VC9 version with apache.org binaries

Maybe one day, extensions will be on this site too (as pecl4win is down)... Would be nice, actually ^^

Pascal MARTIN
+3  A: 

Links are not working any more. But you can use following SVN repository to download the file.

http://zhiliansns.googlecode.com/svn-history/r4/trunk/software/php_memcache-cvs-20090703-5.3-VC6-x86.zip

Yıldıray Meriç
Thanks, this link works!
Poru