I'm trying to use the memcached client in a wordpress install for the
object cache. However, when I try to use it, I get an error:
Fatal error: Uncaught Error: Class 'Memcache' not found in
/app/wordpress/wp-content/object-cache.php:425
Stack trace:
#0 /app/wordpress/wp-content/object-cache.php(63):
WP_Object_Cache->__construct()
#1 /app/wordpress/wp-includes/load.php(514): wp_cache_init()
#2 /app/wordpress/wp-settings.php(113): wp_start_object_cache()
#3 /app/wordpress/wp-config.php(125): require_once('/app/wordpress/...')
#4 /app/wordpress/wp-load.php(37): require_once('/app/wordpress/...')
#5 /app/wordpress/wp-blog-header.php(13):
require_once('/app/wordpress/...')
#6 /app/wordpress/index.php(17): require('/app/wordpress/...')
#7 {main} thrown in /app/wordpress/wp-content/object-cache.php on line 425
This is a wordpress install from following the directions at
https://cloud.google.com/php/tutorials/wordpress-app-engine-flexible which
mentions the memcached drop-in.
I even added explicitly to my php.ini file:
extension=memcache.so
yet the error persists.
How is one supposed to use Memcache from PHP when the environment cannot
load it? The service is enabled in my console, as well. I found some forum
post that implied that the Memcache service was not yet released for Flex
environment (those were dated from January 2017), but other documentation
which says the clients are definitely there. For
example
https://cloud.google.com/appengine/docs/flexible/php/using-redislabs-memcache
says so. No documentation says I have to do anything special to use it.
Can someone point me in the right direction? Thanks!
--
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 [email protected].
To post to this group, send email to [email protected].
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/a31cf484-4a3b-4bc4-bec0-8e9da633865d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.