OK - I've been at this all day. I can't seem to find anything useful on this on google or php.net...
I setup two msession servers one on a Redhat 9 box, one on Fedora Core 2. I have a webserver running Redhat 9. The msession server works perfectly locally and remotely using the provided tools.
Msession took some work to compile into PHP, I ended up having to insert -lstdc++ on the final link to get it to go.
I made my test script with:
<?php
session_start();
echo session_id();
print_r($SESSION);
$SESSION["testing"] = "test";
?>
And it worked, from the command line. Then I re-compiled PHP as a module for apache. This script appeared to work, it spit out a session id and everything. However, whatever msession server it is using is now LOCKED UP.:
[root@db1 bin]# /usr/local/phoenix/bin/madmin localhost STATUS
Failure: Can not open connection to host "localhost" on port 8086
But, the msessiond process was still running. The second I stopped apache, the server came back. So I thought maybe PHP just wasnt closing a connection or something so I gave this a shot:
$link = msession_connect ("prv-db1", 8086);
if ($link)
{
msession_disconnect ();
}
It did the same thing, worked from the CLI version, but froze up the msessiond when executed via apache.
So i've tried everything, apache1, apache2, php4, php5, different msession hosts (different OS's)......
I'm out of ideas.
Please help!