convert.php does not run in a screen session -
I'm trying to change a larger platform. At the moment I have to do it via SSH and "php5 -f convert" .php - $ option "to start with convert.php. But my internet connection is a buggy and therefore it is often killed.
If I start the above working command in the screen session, then it does not work. Instead php gives me the HTML code of "convert.php" back.
Head of the page:
By X-power: PHP / 5.2.12 set-cookie: PHPSESSID = 6bc4370b2d8d40ff8c3ab23672ff4135; Path = / expiration: Thursday, November 19, 1981 08:52:00 GMT Cash-Control: No-store, no-cash, rick-delitate, post check = 0, pre-check = 0 Pragma: No-cache content - Type: text / html
Is it something to do with sessions? But why does it work on the same SSH connection without the screen?
I can not convert any of the standard simple machine forum package. Which conversions are you actually running? Are you certain that it can be used as a command line script?
Edit: You nohup php5 -f convert.php - $ option & amp;
If you can not use the screen.
NOPUT -> Do not kill the process after the current session dies
& amp; -> Playing in the background
Comments
Post a Comment