Memcache incompatibility between php + lucee

Description

Two apps are sharing data using memcache, one is running on php, the other one on lucee.

PHP can read the items created by lucee, but not the other way around.

PHP Code:

<?php

$memcached = new Memcached();
$memcached->addServer('127.0.0.1','11211');
$memcacheData = '{LALA}';
$memcached->set("PHP", $memcacheData);
print( $memcached->get("LUCEE") ); ---> work print "hello 123" as set below

?>

Lucee Code:
<cfdump var="#cacheput('LUCEE', 'hello 123')#">
<cfdump var="#cacheGet( 'PHP' )#"> --> will result in "not found"

Memcache debug shows that both items exist:

ITEM PHP [6 b; 1432763301 s]
ITEM LUCEE [9 b; 1432763301 s]

get PHP
VALUE PHP 0 6
{LALA}
END

get LUCEE
VALUE LUCEE 32 9
hello 123
END

Environment

None

Activity

Show:

Pothys - MitrahSoft 25 September 2024 at 10:17

, any updates? Could you please test with the latest version of Lucee and the Memcache extension?

Pothys - MitrahSoft 5 September 2019 at 14:45
Edited

,

Did you see above my comment on this ticket? if no means please check with that. It will improve the status of this ticket. Make a reply ASAP otherwise, I'll close it.

Pothys - MitrahSoft 10 December 2018 at 11:59

Hi ,

Can you please test with latest version of lucee & memcache extension? Add comments in this ticket, It helps to close the ticket.

Details

Assignee

Reporter

Priority

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 28 May 2015 at 20:48
Updated 25 September 2024 at 10:17