Re: --enable-memcache

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



Mazzu schrieb:

>>
>> 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

yes this extension i installed with

pecl install memcache

and i enabled it in the php.ini

extension=memcache.so

the pecl installer copy the file to
/usr/local/lib/php/extensions/no-debug-non-zts-20060613/memcache.so

which seems right to me (there are no errors if i start php) but I can't
use the Memcached function

now i set
display_startup_errors = On
extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613

nothing :-(

if i start my test (have no expierence w/ memcache)

<?php

$memcache = new Memcache;
$memc...
.
.
?>

Fatal error: Class 'Memcache' not found in test.php on line 3


now I try your second way (what makes buildconf --force?

thank you for helping me
greetings from here
micha

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