Hola estoy tratando de enviar un SMS con PHP,
El script es muy simple:
Código PHP:
Ver original<?php
$mensaje="hola";
$numero=1166822406;
$fp=$fp = fopen("temp.txt","w+"); ?>
pero el Mensaje no sale:
en cambio en los log de APACHE
tengo este error:
Cita: GNOKII Version 0.6.28
Couldn't read œ/.gnokiirc config file.
Couldn't read œ/.gnokiirc config file.
ERROR: Can't find HOME environment variable!
WARNING: cannot open logfile, logs will be directed to stderr
Gnokii serial_open: open: Permission denied
Couldn't open FBUS device: Permission denied
Gnokii serial_open: open: Permission denied
Couldn't open FBUS device: Permission denied
Telephone interface init failed: Command failed.
Quitting.
Command failed.
lo unico que hice con respecto a permisos fue:
Código:
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:administrador
tty:x:5:
disk:x:6:
lp:x:7:
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:administrador:www-data
fax:x:21:
voice:x:22:
cdrom:x:24:administrador
floppy:x:25:
tape:x:26:
sudo:x:27:
audio:x:29:pulse
dip:x:30:
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:
sasl:x:45:
plugdev:x:46:administrador
staff:x:50:
games:x:60:
users:x:100:
nogroup:x:65534:
libuuid:x:101:
crontab:x:102:
syslog:x:103:
fuse:x:104:
lpadmin:x:105:administrador
ssl-cert:x:106:
messagebus:x:107:
mlocate:x:108:
ssh:x:109:
avahi-autoipd:x:110:
avahi:x:111:
netdev:x:112:
couchdb:x:113:
haldaemon:x:114:
pulse:x:115:
pulse-access:x:116:
rtkit:x:117:
saned:x:118:
admin:x:119:administrador
gdm:x:120:
nopasswdlogin:x:121:
administrador:x:1000:
sambashare:x:122:administrador
gnokii:x:123:www-data:administrador
mysql:x:124:
sqlrelay:x:125:
jetty:x:126:
agrege:
www-data en:
gnokii:x:123:www-data:administrador
dialout:x:20:administrador:www-data
Alguna idea?