Can't run phpmyadmin under nginxunit

Valentin V. Bartenev vbart at nginx.com
Sun Jan 7 17:59:22 UTC 2018


On Sunday, 7 January 2018 11:14:14 MSK lhmwzy wrote:
> # cat config/blogs.json
> {
>      "listeners": {
>          "*:8300": {
>              "application": "blog"
>          }
>      },
>      "applications": {
>          "blog": {
>              "type": "php",
>              "workers": 20,
>              "root": "/home/www/phpmyadmin/",
>              "index": "index.php"
>          }
>      }
> }
> # curl -X PUT -d @config/blogs.json --unix-socket ./control.unit.sock http://10.66.23.99:8300
> {
>         "success": "Reconfiguration done."
> }
> But when access http://10.66.23.99:8300
> the page is blank.
> the app which run is https://www.phpmyadmin.net/.

What's in the unit.log?

  wbr, Valentin V. Bartenev



More information about the unit mailing list