I have installed:
 - libevent
 - libmemcached (http://tangent.org/552/libmemcached.html)
 - Done a PECL installation (pecl download memcached, phpize &&
./configure && make)
 - memcached

> cat /etc/php.d/memcached.ini
; Memcached default settings

> ls -1  /usr/lib64/php/modules/memcache*

> memcached -h
memcached 1.2.6

> php -v
PHP 5.1.6 (cli) (built: Feb 26 2009 07:01:12)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

/var/www/php_fcgi_memcache> cat memcache.php
$memcache = new Memcache;

/var/www/php_fcgi_memcache> php memcache.php
PHP Fatal error:  Class 'Memcache' not found in
/var/www/php_fcgi_memcache/memcache.php on line 2

Memcached is working fine (being use by Perl quite happily).

PHP/FCGI is working OK and phpinfo() shows:
memcached support enabled
Version 1.0.0
libmemcached version 0.34
Session support yes

Any pointers in the right direction would so very much appreciated.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to