Shell_exec php with nohup

前端 未结 3 650
借酒劲吻你
借酒劲吻你 2021-01-17 18:21

I think there are tons of similar posts but I haven\'t yet found a solution after searching around.

Basically, I\'m trying to run two scripts in the background. When

3条回答
  •  执笔经年
    2021-01-17 18:46

     /dev/null &");  
        }
    }
    
    // take note: to get your PHP_PATH, try looking at your phpinfo :)
    echo execInBackground("/usr/local/php53/bin/php 'example2.php'");
    ?>
    

提交回复
热议问题