Hi,

I just started using the Memcached php client instead of Memcache client. It's able to connect, but now when I run a get(), I get the following error: Memcached::get(): bad type specifier while parsing parameters

It worked fine with Memcache? There's just one parameter ... the key to be fetched.

Which PHP version are you using? It's possible that the version is too low.

Looks like you're right ... memcached requires 5.2.0.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.