• Resolved rudolfl

    (@rudolfl)


    Hi,

    My site started to display:
    “The following memcached servers are not responding or not running:”

    after I moved it from PHP 7.3 to PHP 7.4

    I checked, memcached server is up and running.
    Another site on same server running on PHP 7.3 worked fine.

    I downgraded PHP version on site in question back to 7.3 and it solved the problem.

    Things I tried, that did not help:
    – Restarted memcached few times
    – Cleared W3 caches

    Any ideas?

    Thanks,
    Rudolf

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @rudolfl

    Thank you for your inquiry and I am happy to assist you with this.
    Have you tried restarting your server once moved to PHP 7.4 and reload your dashboard (log-out and log-in)?
    Thanks!

    Thread Starter rudolfl

    (@rudolfl)

    Hi,

    Sorry for late reply.

    Tried to restart memcached and tried to log in/out.
    The moment I switch site to PHP 7.4, I am getting those errors on top of plugins page. Don’t know if this matters — all other admin pages seem to be error free. You can only see error when you to to plugins.

    Switching site back to PHP 7.3 and just refreshing the page clears problem immediately.

    Exact versions of PHP:
    PHP 7.3.27
    PHP 7.4.16

    Rudolf

    • This reply was modified 3 years, 11 months ago by rudolfl.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @rudolfl

    Thank you for the information.
    I’ve asked you to restart your server (nginx/apache) after moving to 7.4 and then see if the issue persists.
    Thanks!

    Thread Starter rudolfl

    (@rudolfl)

    My server runs nginx as proxy in front of Apache

    Tried to disable nginx completely — same problem
    Tried to restart Apache (with and without nginx running) — same problem

    Rudolf

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t connect to memcached using PHP 7.4’ is closed to new replies.