memcached permission denied

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kahwooi
Forum Commoner
Posts: 25
Joined: Fri Dec 10, 2004 12:28 am

memcached permission denied

Post by kahwooi »

When I connect to memcached doemon using php, I get the following error:

Warning: Memcache::connect() [function.connect]: Can't connect to localhost:11211, Permission denied (13)

By the way I'm using Fedora Core 4 and PHP Version 5.0.4. The port 11211 is listening and php is configure properly.

I have no clue, please help! Thank you.
jamiel
Forum Contributor
Posts: 276
Joined: Wed Feb 22, 2006 5:17 am
Location: London, United Kingdom

Post by jamiel »

The problem is most likely in your memcache configuration. Make sure you can connect to memcache from command line.
kahwooi
Forum Commoner
Posts: 25
Joined: Fri Dec 10, 2004 12:28 am

Post by kahwooi »

How to check if my configuration it correctly?
kahwooi
Forum Commoner
Posts: 25
Joined: Fri Dec 10, 2004 12:28 am

Post by kahwooi »

Can somebody tell me where to get the correct rpms?
kahwooi
Forum Commoner
Posts: 25
Joined: Fri Dec 10, 2004 12:28 am

Post by kahwooi »

It's a selinux problem.
Post Reply