【发布时间】:2016-12-25 09:14:48
【问题描述】:
如何在启动时运行 PHP 文件?
PHP 文件使用的套接字。
在While(true) {} 和set_time_limit (0) 中
如何在后台启动 Linux (Ubuntu) 运行它;
使用:
nohup php <file> &
&&
php <file> -q &
【问题讨论】:
如何在启动时运行 PHP 文件?
PHP 文件使用的套接字。
在While(true) {} 和set_time_limit (0) 中
如何在后台启动 Linux (Ubuntu) 运行它;
使用:
nohup php <file> &
&&
php <file> -q &
【问题讨论】:
我认为你应该保存在你的 linux 的根文件夹中,因为它会自动运行
【讨论】: