sqlgasil.blogg.se

Mamp memcache
Mamp memcache








mamp memcache

The key part is to find where other PHP extensions are kept, and copy the new extension to that location.Ĭp modules/memcache.so /Applications/MAMP/bin/php5/lib/php/extensions/no-debug-non-zts-20060613/ Enable & Test memcache. Note that if you're building on MAMP 1.9 / PHP 5.3, these paths will probably be slightly different. There's a couple things to note about that command: we're asking it to compile both i386 (32 bit) and x86_64 (64 bit) versions of the library, and we're using MAMP's PHP config to do it.įinally, copy the built library into your PHP extensions directory. configure -with-php-config=/Applications/MAMP/bin/php5/bin/php-config

mamp memcache

Now, from the memcache-2.2.6 directory, run phpize to create the config file: Ln -s /Developer/SDKs/MacOSX10.5.sdk/usr/include/ /Applications/MAMP/bin/php5/include For PHP 5.3, you should use the 10.6 SDK. If you're using PHP 5.2, you should use the 10.5 SDK, as OS X 10.5 came with PHP 5.2. Note that there is a MacOS X 10.5 SDK and a 10.6 SDK. When activated Memcached will automatically start/stop when the Servers button is pressed. Check to include the Memcached Server in GroupStart. MAMP doesn't include the PHP C header files, so you need to link them in from the Apple Developer SDK folder. Memcached is an in-memory key-value store for small chunks of arbitrary data. Tar xvfz memcache-2.2.6.tgz & cd memcache-2.2.6 This is the easiest way:Įxtact the source & enter the memache-2.2.6 dir:










Mamp memcache