connect

Проблема с memcache в CentOS: Memcache::connect() Server 127.0.0.1 (tcp 11211) failed with: Permission denied (13)

Проблема с memcache в ОС Linux CentOS 5.x:

PHP Notice:  Memcache::connect() [<a href='function.Memcache-connect'>function.Memcache-connect</a>]: Server 127.0.0.1 (tcp 11211) failed with: Permission denied (13) in memtest.php on line 3
PHP Warning:  Memcache::connect() [<a href='function.Memcache-connect'>function.Memcache-connect</a>]: Can't connect to 127.0.0.1:11211, Permission denied (13) in memtest.php on line 3

Для решения проблемы необходимо запустить:

setsebool -P httpd_can_network_connect on