brooksh Posted December 16, 2007 Share Posted December 16, 2007 Can anyone see what is wrong? or why it won't work. exec("/usr/bin/php ./create.php \"domain=domain.com\" \"username=username\" \"password=password\" \"package=basic\" /dev/null 2>&1 &"); I've also tried exec("/usr/bin/php /home/public_html/order/create.php \"domain=domain.com\" \"username=username\" \"password=password\" \"package=basic\" /dev/null 2>&1 &"); if I run it in shell it works just fine. I thought it used to work but it won't anymore. There is nothing wrong with create.php. Any help would be appreciated. Link to comment https://forums.phpfreaks.com/topic/81861-php-exec-problem/ Share on other sites More sharing options...
rab Posted December 16, 2007 Share Posted December 16, 2007 Don't redirect the output to /dev/null, echo it and see what it says. Link to comment https://forums.phpfreaks.com/topic/81861-php-exec-problem/#findComment-415904 Share on other sites More sharing options...
brooksh Posted December 16, 2007 Author Share Posted December 16, 2007 How would I echo the output? Link to comment https://forums.phpfreaks.com/topic/81861-php-exec-problem/#findComment-416296 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.