PHP Warning: exec() unable to fork

前端 未结 5 802
盖世英雄少女心
盖世英雄少女心 2020-12-01 21:46

So here is a little background info on my setup. Running Centos with apache and php 5.2.17. I have a website that lists products from many different retailers websites. I

5条回答
  •  栀梦
    栀梦 (楼主)
    2020-12-01 22:14

    For anyone else who comes across this issue, it could be several problems as outlined in this question's answer.

    However, my problem was my nginx user did not have a proper shell to execute the commands I wanted. Adding .bashrc to the nginx user's home directory fixed this.

提交回复
热议问题