Hey David,

% Is it possible to run a SSH command from php?
>Sure; it's possible to run any command from php.  It may not work all
>that well, though :-)

heheh, good one. As helpful as usual :-D


% coming from a windows background I have no idea about shell/SSH and am
% pretty lost.
% Doing a quick search on google for "SSH commands" and "SSH help" returned
% quite a lot
% of crap that really didnt help me learn.

>Good enough.  What do you want to do?

Basically stop/restart apache when i make changes to the httpd.conf file.
But then thinking of it I realize that if I stop apache from a script, once
apache is stopped
I cant run any php to restart it...right?
So I guess my question gets cut down to basically "any good place/program to
learn/use SSH?"



 Cheers,
 -Ryan
PHP Web hosting http://Bestwebhosters.com


----- Original Message ----- 
From: "David T-G" <[EMAIL PROTECTED]>
To: "PHP General list" <[EMAIL PROTECTED]>
Cc: "Ryan A" <[EMAIL PROTECTED]>
Sent: Monday, November 17, 2003 4:23 AM
Subject: Re: [PHP] SSH and php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to