PHP REST endpoint and file processor dameon