• posted 6½ months ago

Memcached extension not loading into PHP

I ran into a fun one just now. I had compiled PHP and memcached properly, adding the extension="memcached.so" configuration line to the php config file, but it wouldn't load.

The problem? My syntax. While the correct format in the php.ini file is:
extension="memcached.so"
I had:
extension=”memcached.so”

See the difference? I didn't for a while. It's a quote-entity versus a right-double quotation mark. Killer to tell as they look really similar in the config file.
Careful with those ones.

Comments (add comment)

 
  • lonely post

    lonely post 5 seconds from now

    I bet at first you thought, and maybe are still thinking, that this is a comment someone left for this post. It's not, but it could be yours. Please add a comment to this post? Please?