Jump to content
php.lv forumi

SSH & PHP


FT3

Recommended Posts

paldies , palasiju google vairak par screen viss sanāca caur putty bet

 

ja palaižu caur php

exec('cd /home/galvena/gameserveris ; screen -dmS nosaukums sh start.sh);

 

ienākot caur putty screenu neuzrāda. bet serveris palaižas kur varētu būt vaina.

 

 

 

un gribu izslēgt caur php uzmet kļūdu : Must be connected to a terminal.

exec('cd /home/galvena/gameserveris ; screen -r nosaukums ; stop');

Edited by FT3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...