Я подозреваю, что это - установка удаленных соединений. См. это сообщение Larry от подобного вопроса: SQL Server не Может Соединиться - конкретно в конце его сообщения, где он показывает, как включить удаленные соединения. Я отправил бы все это здесь почему восстановление работа :).
That because your process is not decoupled from the hangup signal. Use the following instead.
nohup php5-cgi /var/www/script.php -q
You could also use a terminal multiplexer like screen
or tmux
if you want to be able to get back to the script output...
Also bear in mind that PHP has a script timeout limit after which it will automatically terminate script execution. You can modify the max_execution_time
setting in your /etc/php5/cli/php.ini
(the default is 30 seconds).