Page 1 of 1

Can you please add this to the new version of xampp windows?

PostPosted: 08. November 2007 03:44
by bas_brain
Hi, i am a xampp windows user over 2 years. However i would like to ask if you guys can add 2 libraries in php it is the Memcache extension, APC extension and Mcrypt extension. I work with php framework and it uses those libraries for memory cache application and i use mcrypt to encryt sensitive data! i would be thankful if you guys could do that!

thanks

PostPosted: 08. November 2007 04:17
by Wiedmann
if you guys can add 2 libraries in php it is the Memcache extension, APC extension and Mcrypt extension.

3 not 2 ;-)

BTW:
All 3 are included in XAMPP.

PostPosted: 08. November 2007 10:02
by Izzy
In xampp\apache\bin\php.ini you will see 2 of your extensions (libraries)(modules):
;extension=php_mcrypt.dll
;extension=php_memcache.dll


To use them you need to uncomment them:
extension=php_mcrypt.dll
extension=php_memcache.dll


The extensions included in XAMPP are stored in a directory defined in this php.ini file entry:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "C:\xampp\php\ext\"

Your path may be different.

To add an extension just follow the format above and make sure the extension is stored in the above directory.

The 3rd extension you mention is to be found in the above ext directory but to use it you would need to add the extension to the php.ini file in the format mentioned above and in the same location as the rest.
You can keep them all in alphabetical order to keep it tidy:
extension=php_apc.dll

Save the php.ini file after editing and restart Apache.

Make a backup of ini and configuration files before editing so you can revert if Apache won't start - check for a typo.

Check for all the extension that are in use by going to:
http://localhost/xampp/phpinfo.php



===========================================
1. The new DeskTopXampp launch control for XAMPP / XAMPPlite
Posted by Ridgewood available from Ridgewood'sDTX web site

2. Build Rich AJAX Applications - Faster
TIBCO General Interface Pro Edition but FREE and Open Source
Fully working with NO donations required to get a user/password
===========================================

PostPosted: 14. November 2007 12:47
by piratos
Download memcache from

http://lists.danga.com/pipermail/memcac ... 05391.html

and install it as a service.


only with the dll in the php.ini you have no memcache.

PostPosted: 12. January 2008 22:45
by aleandro
Is true but mcrypt extension actually is not working in wintel!
Even phpMyAdmin give me an error about mcrypt not loading.
...I already try to download from http://files.edin.dk/php/win32/mcrypt/ the infamous libmcrypt.dll and put in windows/system32/, uncomment extension=php_mcrypt.dll, check if there is the dll in php bins, etc but looks like this feature is DEFINETIVELY broken at list from version 1.6.4 on wintel.