为什么打开这个错误(“./cgi_插件.so“):没有这样的文件或目录?

2024-04-26 10:41:32 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经安装了uwsgi:

curl http://uwsgi.it/install | bash -s cgi /usr/bin/uwsgi

而不是安装的CGI插件:

^{pr2}$

当我运行uwgi时_配置.ini在

[uwsgi]
plugins = cgi
socket = 127.0.0.1:9010
cgi = /=/cgi-bin
cgi-allowed-ext = .py
cgi-helper = .py=python

uwsgi --http :9011 --http-modifier1 9 --ini uwsgi_config.ini --master

我有错误:

[uWSGI] getting INI configuration from uwsgi_config.ini
open("./cgi_plugin.so"): No such file or directory [core/utils.c line 3675]

Tags: installpybash插件confighttpbinusr