You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this problem with Raspberry Pi (Minibian last version).
The script work correctly from CLI but stopped if invoked from web browser.
The apache error log show:
"PHP Fatal error: No stty availible, unable to run. in /var/www/html/PhpSerial.php on line 56"
The problem go away if i changed the line
if ($this->_exec("stty") === 0) {
with the old one:
if ($this->_exec("stty --version") === 0) {
The text was updated successfully, but these errors were encountered:
I get this problem with Raspberry Pi (Minibian last version).
The script work correctly from CLI but stopped if invoked from web browser.
The apache error log show:
"PHP Fatal error: No stty availible, unable to run. in /var/www/html/PhpSerial.php on line 56"
The problem go away if i changed the line
if ($this->_exec("stty") === 0) {
with the old one:
if ($this->_exec("stty --version") === 0) {
The text was updated successfully, but these errors were encountered: