Can't run phpmyadmin under nginxunit

lhmwzy lhmwzy at 126.com
Fri Jan 12 03:32:19 UTC 2018


cat config/blogs.json
{
     "listeners": {
         "*:8300": {
             "application": "blog"
         }  
     }, 
     "applications": {
         "blog": {
             "type": "php",
             "workers": 20,
             "root": "/home/www",
             "index": "index.php"
         }  
     }  
}


access http://xx:8008/phpmyadmin/ gives 502 Bad Gateway.
cat unit.log
2018/01/12 11:04:12 [info] 1600#34366357696 discovery started
2018/01/12 11:04:12 [notice] 1600#34366357696 module: php 7.0.26 "build/php7.unit.so"
2018/01/12 11:04:12 [info] 1601#34366357696 controller started
2018/01/12 11:04:12 [notice] 1599#34366357696 process 1600 exited with code 0
2018/01/12 11:04:12 [info] 1602#34366357696 router started
2018/01/12 11:06:20 [info] 1611#34366357696 "blog" application started
2018/01/12 11:06:20 [info] 1611#34366357696 (non ABS_MODE) php root: "/home/www/phpmyadmin"
2018/01/12 11:07:14 [notice] 1599#34366357696 process 1611 exited with code 0
2018/01/12 11:07:17 [info] 1617#34366357696 "blog" application started
2018/01/12 11:07:17 [info] 1617#34366357696 (non ABS_MODE) php root: "/home/www/phpmyadmin"
2018/01/12 11:29:36 [notice] 1599#34366357696 process 1617 exited with code 0
2018/01/12 11:29:55 [info] 1873#34366357696 "blog" application started
2018/01/12 11:29:55 [info] 1873#34366357696 (non ABS_MODE) php root: "/home/www"
2018/01/12 11:30:07 [crit] 1873#34366357696 sendmsg(9, -1, 2) failed (32: Broken pipe)
2018/01/12 11:30:07 [crit] 1599#34366357696 process 1602 exited on signal 11
2018/01/12 11:30:07 [info] 1876#34366357696 router started
2018/01/12 11:30:07 [crit] 1873#34366357696 sendmsg(9, -1, 2) failed (32: Broken pipe)
2018/01/12 11:30:09 [info] 1877#34366357696 "blog" application started
2018/01/12 11:30:09 [info] 1877#34366357696 (non ABS_MODE) php root: "/home/www"
2018/01/12 11:30:10 [crit] 1599#34366357696 process 1876 exited on signal 11
2018/01/12 11:30:10 [info] 1878#34366357696 router started
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/unit/attachments/20180112/6f8ea9f4/attachment.html>


More information about the unit mailing list