gammu

How to Gammu sendsms php shell_exec windows 7 and xampp?

余生颓废 提交于 2019-12-02 01:00:23
I have already installed XAMPP latest version and installed gammu. In terminal I can send sms or identify my cellphone, but if i try the same command on php shell_exec or exec there is something wrong. The command: "C:\Program Files\gammu\bin\gammu.exe" --sendsms TEXT 06706177529 -text "halooo" This works. The command in php: $a = shell_exec('"C:\Program Files\gammu\bin\gammu.exe" --sendsms TEXT 06706177529 -text "halooo"'); This write to me: Warning: No configuration file found! Warning: No configuration read, using builtin defaults! Error opening device, it doesn't exist. What can be wrong?