I successfully installed gammu in ubuntu 11, and send text message using command line.
echo "TEXTMESSAGE"
| gammu sendsms TEXT mobilenumber
My problem is, when I use exec function in my php script I always have the following errors:
Warning: No configuration file found!
Warning: No configuration read, using builtin defaults!
Error opening device, it doesn't exist.
Thanks for the help
You are missing the .gammurc and the defaults fail to detect your device. Try running gammu-detect. It should say something along the lines of
If that does not work, run gammu-config and manually set up port and connection.