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

Problems with the Windows version of XAMPP, questions, comments, and anything related.

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

Postby bas_brain » 08. November 2007 03:44

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
bas_brain
 
Posts: 2
Joined: 08. November 2007 03:34

Postby Wiedmann » 08. November 2007 04:17

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.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Izzy » 08. November 2007 10:02

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
===========================================
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby piratos » 14. November 2007 12:47

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.
piratos
 
Posts: 45
Joined: 28. October 2004 10:10

Postby aleandro » 12. January 2008 22:45

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.
aleandro
 
Posts: 1
Joined: 12. January 2008 22:34


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 52 guests