I recently needed to trigger a couple of bash scripts through a web browser. Unfortunately PHP shell_exec function grinds to a halt when it is used to trigger a long running / memory intensive script when it is used with Apache. To get round this I instead wrote the command to a file and then [...]
The post Bash Redirection not Working in Shell Scripts + Solution appeared first on Edmonds Commerce. Edmonds Commerce are Magento specialist developers based in the UK.