php exec giving permission denied error

Discussion in 'Programming/Scripts' started by newbie14, Jan 2, 2011.

  1. newbie14

    newbie14 New Member

    Dear All,
    I have a java application which send sms. So on console it works fine no problem. The problem comes when I start to run from the web browser using the php exec method. Then I get error as "PortInUseException : java.lang.RuntimeException:
    Error opening "/dev/ttyUSB0"
    Permission denied".
    I guess I must do some permission settings in linux any help please? Thank you.

Share This Page