Contributions

5 Contributions
  • Answer

    Shell_exec on Ubuntu 16 and nginx

    Hi @Woet PHP has been setup to run globally, I can execute it from the command line without issue, so I don’t believe it’s the PHP …
    By EdWrede
  • Answer

    Shell_exec on Ubuntu 16 and nginx

    Hi @Woet I’ve just tried an absolute path to the file, the command is below: shell_exec(‘php /var/www/x/mailTemplates/execMailBM…
    By EdWrede
  • Answer

    Shell_exec on Ubuntu 16 and nginx

    @Woet I don’t actually know what that is doing to be honest, it’s a line of code I am reusing. What should I modify that to? Thank …
    By EdWrede
  • Answer

    Shell_exec on Ubuntu 16 and nginx

    Sorry @Woet I don’t quite understand… The line of code in question is as follows: shell_exec(‘php mailTemplates/execMailBM....
    By EdWrede
  • Question

    Shell_exec on Ubuntu 16 and nginx

    Hi there. I am running Ubuntu 16.04 with nginx and php7-fpm. I am try to run a shell_exec command from a PHP file. However, the command just isn't executing. No errors are being written to the nginx error log, quite s...
    5 By EdWrede Nginx Linux Commands Ubuntu 16.04