Memcache for php5.5.0 - php

I've upgraded php for 5.5.0 and i cant find php_memcache.dll, maybe someone have some link?
pecl4win.php.net is down and there are no match in http://downloads.php.net/pierre/

You can find memcache builds in the Windows PECL downloads folder. The newest version 3.0.7 also includes builds for PHP 5.5.

I try this but I got php5 is stop or missing error. It's because I download the wrong version.
The bold in indicate the php version I think. I use it for 32 bit windows.
php_memcache-3.0.8-5.5-ts-vc11-x86.zip
32 bit
http://windows.php.net/downloads/pecl/releases/memcache/3.0.8/php_memcache-3.0.8-5.5-ts-vc11-x86.zip
64 bit
http://windows.php.net/downloads/pecl/releases/memcache/3.0.8/php_memcache-3.0.8-5.5-ts-vc11-x64.zip

Related

how to make php blenc work on wampserver?

I would like to ask about how can I use PHP Blenc on wampserver? I've followed every instructions in here but I got an error saying the PHP Blenc function were undefined
http://www.php.net//manual/en/book.blenc.php
I am using PHP 5.4.12 on 64-bit (so as my wampserver architecture I guess). I also tried the example scripts from above and an undefined function is what I get.
The package can be found here
http://www.php.net//manual/en/book.blenc.php
I've searched through the net and always got redirected to the php.net manual.
I am very grateful if someone can give me a detailed instruction on how to make this PHP Blenc work to encrypt my script
Thank you in advance :-)
I dont see a PHP5.4 64bit option in the download area. So that probably means you have downloaded blenc for PHP5.5 64bit or blenc for PHP5.4 32bit.
Either way its not going to run.
You are either going to have to use the 32bit WAMPServer (Apache/PHP/MySQL) so you can stay on PHP5.4 or upgrade your PHP version to PHP5.5.x so you can stick with 64bit and get a blenc extension that will work.
To be honest, there is no great benefit to using the 64bit WAMPServer and quite a few benefits, like having access to some of the more esoteric PHP extensions, in using the 32bit.
In fact 64bit PHP is still considered 'Experimental' and has not yet been fully converted to 64bit anyway.

Cannot load xdebug error

Cannot load Xdebug - it was built with configuration API220090626,TS,VC9, whereas running engine is API220090626,NTS,VC9 and i seem to have had this problem without quite noticing until it comes to debugging php scripts and please can someone help me as i havent really tried to manage debug a php script scuessfully?
If you can load page with phpinfo() on it, look at the Architecture row. If its value is x86 you need the 32 bit version: PHP 5.4 VC9 TS (32 bit). If Architecture is x64, you need the 64 bit version: PHP 5.4 VC9 TS (64 bit).
It sounds like you're using PHP for Windows. There's two DLLs for xdebug since PHP comes in two flavors for Windows: Thread Safe(TS) and Non-Thread Safe(NTS). You also have to marry builds up (5.4 vs 5.5, 32 bit vs 64 bit)
Head over to the Xdebug download page and get the proper DLL.

php_memcache.dll for 64 bit wampserver with either php 5.3.13 or 5.4.3

Okay, so far ive been googeling and trying to find a solution for over 6 hours. normally i dont post questions because i feel the answer should be findable, but here goes nothing.
I need to work with PHP code that has implemented the memcache class. I use wampserver 2.2 as 64 bit install, with apache 2.2.2, php 5.4.3 (installed 5.3.13 too, to see if i could fix it in that version) and mysql 5.5.24
i have run the memcache service with both the memcached-win64-1.4.4-14.zip link and the memcached-1.2.6-win32-bin.zip link
I am now at a point where the feedback from wampserver i get is the following when (re)starting the apache module -> mem_cache_module, using the answers from a similar thread on stackoverflow.com/questions/3894065/php-memcache-dll-vc6-x64), in combination with php 5.3.13 64 bit:
PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
This is a lot further than i got with the other options, most (or all) results i can come up with seem to redirect to either a 32 bit dll (which i cant use since my wampserver is 64 bit) or with the wrong php version or api version (compilation date?) .. i do not think i am able to compile my own library to solve this.
I have added *extension=php_memcache.dll* to both php.ini files for both php versions and the dll files have been placed into the correct php/php5.x.x/ext/ folders of the wamp server
my assumption so far is that i need the php_memcache.dll compilated for 64 bit (x64) for php 5.3.13 on the 25th of may, 2010. That or i need to install a php version matching the binairy compiled on the 26th of june, 2009.
Do any of you have a soltion to my specific dillemma? Any help will be greatly appriciated.
I tried all dlls and none worked but suddenly the one given in comment by falcontoast http://www.mediafire.com/?8d3vd26z3fg6bf1 did work.
Will be glad if it works for someone :).
One must check architecture of the phpversion from phpinfo() and must use corresponding dll file. Also the version for memcached service should be of same type.
Try following steps that might work for you. Yes it did work for me when I almost gave up.
1 - Close all memcached services if any already running.
2 - get this service memcached-win64-1.4.4-14(find it) and install it and then start.(the ways to install are already given out there).
3 - get the dll file in comment by falcontoast and put that in extension(ext) folder.
4 - do the changes in php.ini file.
5 - restart the wamp server(probably exit it and then again start it).
If everything is done properly, then the program given here https://commaster.net/content/installing-memcached-windows should work fine.
Basically you need Memcache OR Memcached Library that match your PHP Executable. When I say match I'm not speaking of date but of code. The old PHP won't support new Memcache and vice-versa.
You can try to compile a special one just for your version of PHP (I tried once with other libraries it's not fun). Or you can find a version of PHP that would work with a version of Memcache but this new PHP will also need to work with your version of Apache...
After years of playing with that I just gave up and just used a unix system.
PS: Now that I think about it PHP already come with a correct version of Memcache... So your error may be just that you're using "new Memcached();" instead of "new Memcache();"
Thank you zzarbi!! Freaking finally, I have tried all possible dll's out there and the one you provided finally worked, all others gave Invalid Win32 application.
My setup is Wamp 64 bit with Apache : 2.4.4 MySQL : 5.6.12 PHP : 5.4.12 on Windows 8 64bit

Installing Drupal 7 locally

When I run the install I get the same error:
Your PHP installation is too old. Drupal requires at least PHP 5.2.5, or PHP 5.2.4 with the
htmlspecialchars security patch backported.
After a few hours of research it seems incredibly complicated to upgrade my version of php (currently 5.2.4 locally on my mac os x 10.4.11) so it appears I need to 'backport the htmlspecialchars security patch'.
Can anyone please point me in the right direction for how to do this? I can't seem to find any documentation.
Have you tried one of the PHP packages from http://www.entropy.ch/software/macosx/php/ to upgrade your local PHP installation?

PHP Inclued for Windows?

Is there a .dll version of the inclued extension for PHP?
The manual's link for Inclued on PECL4WIN doesn't help. I don't have a compiler to build my own DLL.
NOTE: The spelling "inclued" is correct!
Edit: I don't have a compiler, but do know someone with one... that's really a last resort though.
As best as I can tell, the Windows version doesn't exist anymore. Maybe whoever was maintaining it before had to stop for some reason.
I wonder what it takes to compile a PECL extension under Windows.
Edit
Here's some info on compiling a different PECL extension on Windows. You may be able to extrapolate to the inclued extension.
Edit
WAMP Server comes with PECL & PEAR. I can actually run the command pecl install inclued-alpha from the Windows command-line and it goes out and tries to grab the inclued extension from the PECL site.
Unfortunately it dies when it unpacks the .tgz file and tries to compile it
ERROR: The DSP inclued.dsp does not exist.
Which version of PHP are you running? I know someone that can compile you a version.
update
Alright, got this compiled - I've tested on my 5.2.6 build and it seems to work fine.
I've been told there may be problems using it in a threaded environment (e.g. Windows) but that's only a maybe. Also:
[13:10] <g0pz> the inclued dumpfiles will collide, because it uses PID # + increments
[13:11] <g0pz> but command line should work ok
[13:12] <g0pz> is the threaded apache version which'll have the same PID and well, a "possible" collision
So good luck with it :)
download
Poke me if you have any issues with inclued.
I'm just on the verge of putting out a release, I'll do a mkstemp() in windows instead of picking the PID + count.
Hopefully also with a gensvg.php which'll render the di-graph in-browser with pear::Image::GraphViz.
Isn't this their DLL download site? http://pecl4win.php.net/list_dlls.php
Unless I'm off on my browsing of the site?
Is this the page you are looking for?
http://pecl4win.php.net/list_dlls.php
..edit: (man, we are fast. I swear these two duplicate answers were posted simultaniously)
The official PHP for Windows site says:
PECL For Windows
PECL extensions for Windows is being worked on. The interface on the
pecl website will most likely be updated to offer Windows DLL download
right from that website. In the meantime, some extensions can be found
here.
That "here" link leads to http://downloads.php.net/pierre/, where you will find, among the multitude of other extensions, builds of inclued for PHP 5.2 and 5.3, VC6 and VC9, thread-safe and non-thread-safe. The one matching my version of PHP seems to be working.

Categories