Re: --enable-memcache
| From: | Michael Temeschinko | Date: | Tue, 09 Oct 2007 14:14:44 +0000 |
| Subject: | Re: --enable-memcache | ||
| References: | 1 2 3 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-18287@lists.php.net to get a copy of this message | ||
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