Bug #78963 [NEW]: php-fpm-7.4.0 can't access devices
| From: | jeanmarc dot louviaux at gmail dot com | Date: | Sun, 15 Dec 2019 13:37:13 +0000 |
| Subject: | Bug #78963 [NEW]: php-fpm-7.4.0 can't access devices | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-224310@lists.php.net to get a copy of this message | ||
From: jeanmarc dot louviaux at gmail dot com
Operating system: Arch
PHP version: 7.4.0
Package: FPM related
Bug Type: Bug
Bug description:php-fpm-7.4.0 can't access devices
Description:
------------
Hello,
I'am using app via php-fpm that communicate with some of my USB ports
(Arduino, electric meters and a solar inverter)
It was running for years without any hitchs. I just had to usermod -a -G
uucp http.
Since php-fpm-7.4.0 i'am unable to access them, so i had to downgrade.
Could you please fix that ?
Cheers
Test script:
---------------
<?php
$com = "aurora -a 2 -c -T -Y3 -l4 -d0 -e /dev/ttyUSB1";
//$com = "ls -al /dev/";
//$com = "poolmeters ws";
exec("$com 2>&1", $datareturn);
$datareturn = trim(implode($datareturn));
echo $datareturn;
?>
Expected result:
----------------
Get returns from my devices ;)
Actual result:
--------------
Unable to open any dev/port
--
Edit bug report at https://bugs.php.net/bug.php?id=78963&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78963&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78963&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78963&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78963&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78963&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78963&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78963&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78963&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78963&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78963&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78963&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78963&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78963&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78963&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78963&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78963&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78963&r=mysqlcfg