尝试启动mod_wsgi。得到与fmod相关的参考错误。
[root@host]# mod_wsgi-express start-server wsgi.py --port=80 \
> --user www-data --group www-data
Server URL : http://localhost/
Server Root : /tmp/mod_wsgi-localhost:80:0
Server Conf : /tmp/mod_wsgi-localhost:80:0/httpd.conf
Error Log File : /tmp/mod_wsgi-localhost:80:0/error_log (warn)
Request Capacity : 5 (1 process * 5 threads)
Request Timeout : 60 (seconds)
Queue Backlog : 100 (connections)
Queue Timeout : 45 (seconds)
Server Capacity : 20 (event/worker), 20 (prefork)
Server Backlog : 500 (connections)
Locale Setting : en_US.UTF-8
httpd (mod_wsgi-express):
/tmp/mod_wsgi-localhost:80:0/httpd.conf第151行的语法错误: 无法加载 /usr/local/lib/python3.5/site-packages/mod_wsgi/server/mod_wsgi-py35.cpython-35m-i386-linux-gnu.so 进入服务器: /usr/local/lib/python3.5/site-packages/mod_wsgi/server/mod_wsgi-py35.cpython-35m-i386-linux-gnu.so:unfined defined symbol:fmod
答案 0 :(得分:0)
我不知道这对你有用,但是因为你使用的是python3
init
我认为Graham Dumpleton先生指的是他近一年前在https://groups.google.com/forum/#!topic/modwsgi/L1iJeUpPTks上发布的解决方案