Forums » SEPHP Help and Tips

Memcached Compression "issue"

    • 84 posts
    December 30, 2021 3:02 AM EST

    hello and happy holidays!!!

    To make your holidays better I add a new "problem" lol

     

    In my site I have enabled the memcahced compression and it gives me this error, any idea about what I need to configure in the server to fix it? or is it a bug I have found?

    Thank you in advance for the answers!

    2021-12-30T07:47:24+00:00 ERR (3): Error Code: XxxxXX
    Zend_Session_Exception: Zend_Session::start() - /application/libraries/Zend/Cache/Backend/Memcached.php(Line:213): Error #2 Use of undefined constant MEMCACHE_COMPRESSED - assumed 'MEMCACHE_COMPRESSED' (this will throw an Error in a future version of PHP) in /application/libraries/Zend/Session.php:495
    • Moderator
    • 6056 posts
    December 30, 2021 7:04 AM EST

    Happy holidays! 

    I am not sure what that is so I'm asking a core developer to check. :)

    • Moderator
    • 6056 posts
    December 30, 2021 7:24 AM EST

    According to our dev:

    This issue can come when memcached extension is not installed.

    • 84 posts
    December 31, 2021 1:52 AM EST

    awww tnx a lot! and happy new yearrr!!!

    • 84 posts
    December 31, 2021 2:07 AM EST

    Uhm no in my server is installed, also the extension for apache

     

    memcached
    memcached support	enabled
    Version 	3.0.1
    libmemcached version 	1.0.18
    SASL support 	yes
    Session support 	yes
    igbinary support 	yes
    json support 	yes
    msgpack support 	yes
    Directive	Local Value	Master Value
    memcached.compression_factor	1.3	1.3
    memcached.compression_threshold	2000	2000
    memcached.compression_type	fastlz	fastlz
    memcached.default_binary_protocol	0	0
    memcached.default_connect_timeout	0	0
    memcached.default_consistent_hash	0	0
    memcached.serializer	php	php
    memcached.sess_binary_protocol	1	1
    memcached.sess_connect_timeout	0	0
    memcached.sess_consistent_hash	1	1
    memcached.sess_lock_expire	0	0
    memcached.sess_lock_max_wait	not set	not set
    memcached.sess_lock_retries	5	5
    memcached.sess_lock_wait	not set	not set
    memcached.sess_lock_wait_max	2000	2000
    memcached.sess_lock_wait_min	1000	1000
    memcached.sess_locking	1	1
    memcached.sess_number_of_replicas	0	0
    memcached.sess_persistent	0	0
    memcached.sess_prefix	memc.sess.	memc.sess.
    memcached.sess_randomize_replica_read	0	0
    memcached.sess_remove_failed_servers	0	0
    memcached.sess_sasl_password	no value	no value
    memcached.sess_sasl_username	no value	no value
    memcached.sess_server_failure_limit	0	0
    memcached.store_retry_count	2	2
    • Moderator
    • 6056 posts
    January 4, 2022 4:58 AM EST

    I'm asking the team if it can be something else.