Hello Hoang,
Unfortunately, App Engine Memcache support is not provided for PHP 7.2 as it is a second generation runtime <https://cloud.google.com/appengine/docs/standard/appengine-generation> which does not have access to proprietary App Engine APIs such as Memcache, but similar functionality can be achieved using Redis Labs Cloud as stated in Migrating your App from PHP 5.5 to PHP 7.2 <https://cloud.google.com/appengine/docs/standard/php7/php-differences#migrating_from_the_app_engine_php_sdk>. However, there is a feature request Memcache for PHP 7.2 (standard) <https://issuetracker.google.com/113127309>. The current recommendation taken from the previous link is: “Redis Labs provides both a redis and memcache interface, which you would access using their respective clients.” “To use the redis protocol, please follow the guide at:” https://cloud.google.com/appengine/docs/standard/python3/using-redislabs-redis “For the memcache protocol, while the documentation for App Engine Standard is not ready yet, you can follow around with the Flex documentation here:” https://cloud.google.com/appengine/docs/flexible/php/using-redislabs-memcache On Monday, September 3, 2018 at 5:44:20 PM UTC-4, Hoang Van wrote: > > i tested with php55 for shared memcache, it worked. but not work for php72 > standard enviroment. Why?? > $mem=new Memcached(); > $mem->set('a',10); > echo $mem->get('a'); > > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/cab50221-8c6c-47f6-9849-045e50b7f48c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.