Alberto Chacon - 2019-10-29 03:11:50
Hello.
I have used the phpSerial routine for several years using Linux Centos 6.9 and PHP 5.3.3
I went to Centos 7 using PHP 5.6.40 and it is giving me the following error:
1st error:
[root@localhost sms]# php -f sms1.php
PHP Warning: Unable to set the baud rate : the device is either not set or opened in /var/www/sms/PhpSerial.php on line 221
Warning: Unable to set the baud rate : the device is either not set or opened in /var/www/sms/PhpSerial.php on line 221
2nd error:
[root@localhost sms]# PHP Warning: Unable to set baud rate: stty: /dev/ttyUSB0: unable to perform all requested operations
in /var/www/sms/PhpSerial.php on line 265
Warning: Unable to set baud rate: stty: /dev/ttyUSB0: unable to perform all requested operations
in /var/www/sms/PhpSerial.php on line 265
PHP Warning: Unable to set baud rate: stty: /dev/ttyUSB0: unable to perform all requested operations
in /var/www/sms/PhpSerial.php on line 265
Warning: Unable to set baud rate: stty: /dev/ttyUSB0: unable to perform all requested operations
in /var/www/sms/PhpSerial.php on line 265
I use the routine located in:
\php_serial-2014-05-02\src
Thanks in advance for the help.
Regards.