Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 614429
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:06:39+00:00 2026-05-13T18:06:39+00:00

What in the heck do you put as the host for Memcache::addServer($host, $port) ?

  • 0

What in the heck do you put as the host for Memcache::addServer($host, $port)?

I am hosting on mediatemple and this is really, really, really, really starting to get to me.

Do I have to set up a new memcahce server or what. I have no idea what to do and every tut just keeps saying “localhost”. Well I don’t want to run it on my localhost…. I guess I just don’t understand what’s going on.

Any help would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T18:06:40+00:00Added an answer on May 13, 2026 at 6:06 pm

    “localhost” is whatever machine the code is running on. If the code is running on a server at MediaTemple, then “localhost” will be that server.

    If they provide a memcache server, they should provide it’s address somewhere in their knowledge base. Try “localhost” first, on the off chance that it’s running on the same machine your site is hosted on.

    UPDATE

    Assuming you’re running on their Grid service, try following these instructions:
    http://kb.mediatemple.net/questions/854/Using+memcached+with+Django+or+Ruby+on+Rails+in+a+(gc)+GridContainer

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have google the heck out of this an I cannot get an answer
I'm having a heck of a time figuring this out. I have a WCF
i have googled the heck out of this and i cannot find a solution.
I am having one heck of a hard time trying to figure this out.
I'm having a heck of a time trying to get a gridview to refresh
I have always wondered WHaT tHE HecK?!? is the difference between JScript and JavaScript.
I am having a heck of a time with this one guys. I am
I'm new to working with video. I would like to put some tiny video
This really, really urks me, so I hope that someone can give me a
This has got to be one of the most frustratingly stupid bugs I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.