Using PHP script-library to send/receive data to/from modem. Works perfect when executing php -q from terminal (Ubuntu), including for User1 (using
php -q