I think it's going to be related to api calls not getting handled properly under a fastcgi model of PHP.This guys went through some grief with crontab calls as fastcgi but his changes didn't seem to fix anything for me.http://uname.pingveno.net/blog/index.php/post/2013/06/29/osTicket,-wget,-crontab-and-FastCGII switched my php module to apache2 mod_php model just for kicks and the test api ticket creation worked. So it appears the way they are calling paths is not suited for certain types of apache and php models.