Andrija Vu?ini?
Forum Replies Created
-
Forum: Plugins
In reply to: [Memcached Object Cache] Unix socket is not supported?Hey @ekkljs,
here’s the code that reads the memcached servers: https://plugins.trac.www.ads-software.com/browser/memcached/trunk/object-cache.php#L834, and here’s where it checks for a socket: https://plugins.trac.www.ads-software.com/browser/memcached/trunk/object-cache.php#L852.
Hope that helps.
Forum: Plugins
In reply to: [Memcached Object Cache] Fatal error but not what activation causes> Looks like Memcached freezes soon after it starts and gets 1000-4000 hits/misses.
Do tell what was the problem when you figure it out. ??
Forum: Plugins
In reply to: [Memcached Object Cache] Fatal error but not what activation causesFatal error: Maximum execution time
This is a PHP error. I’d suggest increasing
max_execution_time
to check whether it ever finishes.It times out on this line https://plugins.trac.www.ads-software.com/browser/memcached/trunk/object-cache.php#L176, which is trying to add some data to the
memcached
instance you’re running. Is this a clean WP install? Have you checked if yourmemcached
instance is working?Forum: Plugins
In reply to: [Memcached Object Cache] Fatal error but not what activation causesThat message means you don’t have the required extension installed: https://pecl.php.net/package/memcache.
Please mind that there are two extensions
memcached
andmemcache
. You need thememcache
one.Forum: Plugins
In reply to: [Memcached Object Cache] Fatal errorWhen no access to SSH so can’t activate the plugin?
You can use FTP to copy the file, or a WP plugin like https://www.ads-software.com/plugins/wp-file-manager/.
Redis plugin only activated and goodbye.
Yeah, they overwrite the original file in code but we’d rather not. Also, most hosts provide these plugins as drop-ins for you. I’d say this one does need some dev knowledge (or at least understanding of what you’re doing).
- This reply was modified 2 years, 8 months ago by Andrija Vu?ini?.
Forum: Plugins
In reply to: [Memcached Object Cache] Fatal errorHey there,
did you follow the Installation steps provided here: https://www.ads-software.com/plugins/memcached/#installation ? I’m guessing you just installed it like any other plugin, but it doesn’t work like that. ??
Forum: Plugins
In reply to: [Memcached Object Cache] PHP8Nice, glad to hear it!
Forum: Plugins
In reply to: [Memcached Object Cache] PHP8They just looked at the release dates.
memcache
is fine, and works well (running it on a lot of sites).But the most important question is, does it work now with PHP 8.0?
Forum: Plugins
In reply to: [Memcached Object Cache] PHP8Just to be clear, don’t both of them need to be installed per your install instructions?
It can be confusing. The
memcached
we mention is the cache store server: https://memcached.org/. It is unrelated to PHP.For PHP, there are two extensions.
memcache
andmemcached
. They are both extensions that allow PHP to communicate with the above mentioned cache store server. This plugin is developed specifically for thememcache
extension.Hope that helps.
Forum: Plugins
In reply to: [Memcached Object Cache] PHP8Ah, ok. You need to have
memcache
installed, notmemcached
. Check the output for PHP 7.3.Forum: Plugins
In reply to: [Memcached Object Cache] PHP8Could you please do the same while on php 8.0? Trying to figure what is missing. Still think it might be old extension versions.
Btw. How did you install the extensions? Pecl?
Forum: Plugins
In reply to: [Memcached Object Cache] PHP8Heh, that didn’t work. Let’s just run them as separate commands:
php -v
And
php -m | grep memcache
Forum: Plugins
In reply to: [Memcached Object Cache] PHP8Don’t think it’s a configuration issue. If it works fine on 7.4, I’m guessing you’re using an outdated version of the plugin (no php8+ support).
Could you run this on your server and paste the output:
php -v && php -m | grep memcache
Forum: Plugins
In reply to: [Memcached Object Cache] PHP8Hey there,
we’ve been running it on both 8.0 and 8.1 for a while now. That said, we use this extension https://pecl.php.net/package/memcache (as opposed to memcached, mind the last d). Could you give us some more info on your environment? Does php8 have the correct extensions?
Forum: Plugins
In reply to: [Debug Bar] PHP ErrorsThanks @okvee. Released new version: https://plugins.trac.www.ads-software.com/browser/debug-bar/tags/1.1.3/debug-bar.php?rev=2716447