A slightly less cursory investigation informs me that <?php echo exec("./cgi-bin/livecode--server.cgi sayHello.lc") ?> works, as I should;d have known. Neville