Running command line PHP through PHP-FPM

前端 未结 2 1924
情歌与酒
情歌与酒 2021-01-04 19:40

Currently I use PHP-FPM with NGINX for front end requests but also run some background processes through a long running PHP script using exec to run other scripts with the c

2条回答
  •  旧巷少年郎
    2021-01-04 20:33

    Very late to this question (4 years) but the correct answer is cgi-fcgi which will let you pass commands and execute code in the already-in-memory php-fpm

提交回复
热议问题