PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, November 12, 2022

[FIXED] How do I connect to Google's App Engine Shared Memache service from a Rails standard environment?

 November 12, 2022     google-app-engine, google-cloud-platform, memcached, ruby-on-rails     No comments   

Issue

I have a Rails app running in Google Cloud's App Engine standard environment. I'd like to be able to connect to the Memcache service provided by App Engine, but I cannot figure out how to connect to it. I've got my config/environments/production.rb set to use the memcache store:

config.cache_store = :mem_cache_store, ENV['MEMCACHE_SERVERS']

What value do I set for the MEMCACHE_SERVERS variable? I cannot find this anywhere in the Google Cloud Console or the docs. The only tidbit I can find is "Memcache is not supported for flex environments", which this is not using. Any help would be appreciated.


Solution

Unfortunately Memcache service is not recommended any more. I have found that it was available only for Python 2.7, Java 8 and PHP 5.

You can find it documentation here

I hope it will help somehow...



Answered By - vitooh
Answer Checked By - Mildred Charles (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing