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
kahwooi
Forum Commoner
Posts: 25 Joined: Fri Dec 10, 2004 12:28 am
Post
by kahwooi » Fri Aug 25, 2006 5:26 am
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 » Fri Aug 25, 2006 5:52 am
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 » Fri Aug 25, 2006 6:41 am
How to check if my configuration it correctly?
kahwooi
Forum Commoner
Posts: 25 Joined: Fri Dec 10, 2004 12:28 am
Post
by kahwooi » Fri Aug 25, 2006 7:02 am
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 » Fri Aug 25, 2006 7:19 am
It's a selinux problem.