When John and I were working on this we noticed that the LDR_CNTRL
environment variable wasn't set at all on a normal telnet login.  When we
DID set it manually on the telnet session, Universe wouldn't start with the
4 22 message.  So the simplest version the script was basically like this
(and forgive me as I'm reciting from memory):

<?php
$current = getenv('LDR_CNTRL');
putenv('LDR_CNTRL=');
exec('/u1/uv/bin/uv');
putenv('LDR_CNTRL=' . $current);
?>

John has been working on this more after we got this far so I'll defer to
him for more details. Note that all this script was proving was the ability
to start UV successfully from a PHP script invoked through Apache.  There is
more going on with moving data in and out of UV using JSON, which allows
massive amounts of structured data to be moved into and out of the
environment.

-K
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to