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

Saturday, November 12, 2022

[FIXED] What will be "session_memcached_host:" when I use Memcache service provided by Google Cloud Application Flex. Engine?

 November 12, 2022     app-engine-flexible, google-cloud-platform, memcached, symfony5     No comments   

Issue

I am evaluating Symfony 5.0.1 with Google Cloud Application Flexible Engine.

I couldn't use Memcache service provided in App Engine because I don't know which "memcached_host" should be used. Memcache in Application Engine

I tried using "session_memcached_host:localhost" in services.yaml but it doesn't work

Same Project of Symfony is tested locally and it works well with local Memcache server (in my local setup).


Solution

Here is an example of a PHP app using memcache on Google App Engine Standard.

Here specifically you can see how you should configure memcache to work on App Engine

I have tried the example above myself and it's working as expected.

NOTE: You have mentioned App Engine Flex but provided examples and docs on Standard.

Memcache is currently generally available for App Engine Standard.

Please keep in mind that there are huge differences between App Engine Flex and Standard.



Answered By - Waelmas
Answer Checked By - Clifford M. (PHPFixing Volunteer)
  • 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