Subject: Re: Persistent shell

Re: Persistent shell

From: Pierre Joye <>
Date: Fri, 7 Jan 2011 12:53:16 +0100


Not possible and I don't think we will ever implement it in the PHP
binding. Everything is destroyed at the end of a request, it is
possible to have persistent connection for some databases but that's a
very special case. And even for this case, we recommend not to do it.


On Fri, Jan 7, 2011 at 11:26 AM, Samuel ROZE <> wrote:
> Hi,
> ssh2_shell give me an interactive shell, but when the PHP page is
> loaded, the connection is closed. What I want is that between pages,
> the connection stay alive...

@pierrejoye | |
Received on 2011-01-07