We have developed a PHP script to build PDF's and send emails which then get called from an RPG program using QP2SHELL
. For our developer users the errors go to the standard PHP error log, but for our customer's users it's printing on their default printer. Our developer profiles use *WRKSTN
as the printer, and of course the users have an actual printer device. Is there a way to prevent this from printing through either RPG or PHP? We are comfortable with suppressing all logs because we have our own logging methods in place. I have tried in PHP setting error_reporting(0);
which seemed to have no effect.