我在 ubuntu 11 中成功安装了 gammu,并使用命令行发送短信。
echo "TEXTMESSAGE"
| gammu 发送短信 TEXT手机号码
我的问题是,当我在我的 php 脚本中使用 exec 函数时,我总是遇到以下错误:
Warning: No configuration file found!
Warning: No configuration read, using builtin defaults!
Error opening device, it doesn't exist.
谢谢您的帮助