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.
Related
i try to install PrivMX WebMail but seems like one error still problem here,
php-dba PROBLEM
i try to find php_dba.dll on php.ini but it seems there is nothing there
im trying to find it on google but still fail
currently im using PHP version: 5.6.12 witn wampwebserver on windowns server
Any help?
There is no php_dba.dll distributed officially until PHP 7.2. Even if you compile it yourself for lower, you might need to get drivers you need manually. Particularly for Oracle. Otherwise you should be fine just upgrading to 7.2 as it also suports LMDB.
Thanks.
On Windows You will need to install/enable php_apc extension (php_apc.dll) Unfortunately for PHP 5.5 or 5.6 php_apc is not supported. This is why i have this post.
Instead, you will need to use php_apcu for php 5.5 or 5.6 or later and here is how https://www.devside.net/wamp-server/installing-apc-for-php-5-5
I have followed the above instruction https://www.devside.net/wamp-server/installing-apc-for-php-5-5 but it did not work that was because I have not been able to find the correct version for my php.
Finding the correct version is painful and tricky. so I share with you that version that works for me so to give you starting point to compare and look up:
my version of php is 5.5.6 and it works with APCu 4.0.5 http://pecl.php.net/package/APCu/4.0.5/windows (you will have to find NTS or TS info in your phpinfo())
here this link helps me find out my version (http://robert-rusu.blogspot.ca/2014/06/install-apcu-on-windows.html)
It is difficult to find version or to list them all so I hope I gave enough info for your searching. good luck!
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
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
I upgraded my system from Windows xp to windows 7. When i was in win xp i used the wamp server with php version 5.0 now i installed the wamp server with the version 5.3. But now it's making problem. The old projects are not running. Even-though they are created in php version 5. How i can solve this problem?
New versions of WAMP use apache 2.2.x and lovest php version supported for that is 5.2. That beeing said you can downgrade your php version of wamp installation by downloading a php addon http://www.wampserver.com/en/addons_php.php from here. Or you can ultimately downgrade WAMP apache installation from 2.2 to 2.0 http://www.wampserver.com/en/addons_apache.php . If your project don't work with 5.2 or 5.3 you need to debug and update your code with the latest changes in php http://php.net/migration53
There are some (but not many) backward-incompatible changes between PHP 5.0 and 5.3. But they're fairly obscure and not generally going to cause major issues. You can find the full details here: http://uk.php.net/manual/en/migration53.incompatible.php
However my guess is that it's more likely that you've installed the new version missing one or more extensions which your code is relying on.
For example, if you are using the pdo_xx() functions, you would need the PDO extension. Most PHP programs will use functionality from several extensions, and not all of them may be included in the default installation, so you need to ensure you have installed with all the ones you need.
The other possibility is that there's an issue with the installation (either PHP itself or the web server, etc) that is preventing PHP from running at all.
But this is all really a guess, because you haven't actually told us anything about what exactly the problem is. You need to look and see in what way it's failing. If you're not getting error messages in the browser, check the server error logs. This is the quickest way to diagnose the problem. It should give you some good clues (if it doesn't help you understand what's happening, paste the relevant log entries here, because they'll definitely make sense to someone)