Re: --enable-memcache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Mazzu <confins_de_l_univers@xxxxxxxx> wrote:
> Michael Temeschinko <mt@xxxxxxxxxxx> wrote:
>> Hello,
>>
>> I want use memcache with PHP
>>
>> but configure says:
>>
>> Notice: Following unknown configure options were used:
>>
>> --enable-memcache
>>
>> how do I install memcache-functions in php 5.2.4?
>>
>> http://de.php.net/manual/de/ref.memcache.php
>>
>>
>> mfg - micha
>
> try to compile it statically
>
> The memcache extension is not bundled with PHP.
>
> So, there is two way to use memcache with PHP :
>
> 1) Build separate .so file (recommended)
> Download memcache extension at http://pecl.php.net/get/memcache-2.2.0.tgz
> Untar the archive
> Build the .so file and install it :
> phpize
> ./configure --enable-memcache
> make
> make install
>
> 2) Add it to php sources to compile memcache extension statically
> Download php sources
> Download memcache extension
> Untar both archives
> Copy the memcache source to /path/to/src/php-x.y.z/ext/memcache
> Build php executable and install it :
> ./buildconf --force
> ./configure --enable-memcache
> make
> make install
>
> Hope that helps.
>
> -Mazzu

The first sentence is a mistake.
Don't try to compile statically if possible.

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux