Install PECL Memcached Error

后端 未结 2 1408
面向向阳花
面向向阳花 2021-01-13 20:18

I followed the following steps to install PECL memcached in my Centos Server, always got errors.

First. Install libmemcached

cd /opt
wget http://laun         


        
相关标签:
2条回答
  • 2021-01-13 20:55

    To solve this issue with CentOS, you should be able to run:

    yum install cyrus-sasl-devel
    

    FYI, this question refers to CentOS, but for Ubuntu, the following should work:

    sudo apt-get install libsasl2-dev
    
    0 讨论(0)
  • 2021-01-13 21:04

    Just use configure with that option: ./configure --disable-memcached-sasl

    and it won't need to check for the sasl libs. I did and could then compile...

    Not sure why when you specific the --with-libmemcache-dir, it can't figure out where sasl.h is inside that directory... Anyway Here is someinfo on how to setup SASL for memcache... just not sure how to actually get sasl.h recognized within the ./configure script https://code.google.com/p/memcached/wiki/SASLHowto Note: Im not too familiar with SASL but you might want SASL if you are on some sort of shared hosting environment.

    0 讨论(0)
提交回复
热议问题