Can memcache be installed

Asked by:
booker / 8 Points
Time:
2012-01-22 10:43 pm EST
Category:
Website
Hits:
860
how can i have this installed on my server?

To ask this user for more information, please first login.

To submit an answer, please login.

Best answer chosen by Web Hosting Hub staff

0

ChristiNi
Staff
13,688 Points
2012-01-23 10:28 am EST
Hello booker,

Thank you for your question regarding memcache. I'm sorry, but due to the server requirements of that extension, we would not be able to install this. I would recommend using a caching plugin or extension for the particular software you are using to build your site. If you need any assistance finding caching that works with your software, please feel free to either update your question or add a comment below to give us more details about the software you are using to build your site.

Please let us know if you have any additional questions or need further assistance.

Regards,

Christi N.

To submit a comment on this answer, please first login.

ANSWERS

0

PHKCorporation
2012-01-25 3:55 pm EST
connects to a separate memcache server.

2. The sign up for a Windows VPS, I use https://cp.commercialnetworkservices.net/aff.php?aff=898 and

3. then found the source for memcached server ported to windows at http://blog.rakeshxp.com/2007/09/running-memcached-on-windows.html.

4. Copy to your Windows VPS and open a command prompt to install and start as a service,
memcached -d install
memcached -d start

5. Then create a simple memcached test file on your webhostinghub server,

filename: mctest.php

$mc = new Memcache();
echo 'addServer: '.$mc->addServer("your VPS IP address");
echo 'Version: '.$mc->getVersion();
echo 'Stats: '; print_r($mc->getStats());
echo 'Extended Stats: '; print_r($mc->getExtendedStat s());
echo 'add: '.$mc->add(md5($url),"Hello there");
echo 'get: '.$mc->get(md5($url));
echo 'delete: '.$mc->delete(md5($url ));
echo 'get: '.$mc->get(md5($url));
echo 'close: '.$mc->close();

You should see memcache version and status.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.