grey109
Новичок
Не могу установить memcache
Сабж. Проблема на ровном месте
OS Win 2000 SP4
PHP 4.4.6
Apache 1.3.33
Фаерволов нет
$memcache = new Memcache;
$memcache->connect('localhost', 11211) or die ("Could not connect");
Выдает
===
Warning: connect() [function.connect]: Can't connect to localhost:11211, Unknown error (0) in e:\www\test.php on line 7
Could not connect
===
telnet localhost 11211
Подключение к localhost...Не удается подключиться к узлу на порт 11211 : Сбой подключения
Хотя phpinfo() говорит:
===
memcache support enabled
Active persistent connections 0
Revision $Revision: 1.81 $
Directive Local Value Master Value
memcache.allow_failover 1 1
memcache.chunk_size 8192 8192
memcache.default_port 11211 11211
memcache.max_failover_attempts 20 20
===
и var_dump(extension_loaded('memcache')) возвращает bool(true).
Где ошибка?
-~{}~ 07.09.08 14:44:
php_memcache.dll скачал для версии 4.4.1 отсюда http://pecl4win.php.net/ext.php/php_memcache.dll , т.к. новее не нашел.
Сабж. Проблема на ровном месте

OS Win 2000 SP4
PHP 4.4.6
Apache 1.3.33
Фаерволов нет
$memcache = new Memcache;
$memcache->connect('localhost', 11211) or die ("Could not connect");
Выдает
===
Warning: connect() [function.connect]: Can't connect to localhost:11211, Unknown error (0) in e:\www\test.php on line 7
Could not connect
===
telnet localhost 11211
Подключение к localhost...Не удается подключиться к узлу на порт 11211 : Сбой подключения
Хотя phpinfo() говорит:
===
memcache support enabled
Active persistent connections 0
Revision $Revision: 1.81 $
Directive Local Value Master Value
memcache.allow_failover 1 1
memcache.chunk_size 8192 8192
memcache.default_port 11211 11211
memcache.max_failover_attempts 20 20
===
и var_dump(extension_loaded('memcache')) возвращает bool(true).
Где ошибка?
-~{}~ 07.09.08 14:44:
php_memcache.dll скачал для версии 4.4.1 отсюда http://pecl4win.php.net/ext.php/php_memcache.dll , т.к. новее не нашел.