python - apache 服务器 出现 C++ runtime error R6034 怎么解决?
PHP中文网
PHP中文网 2017-04-17 13:06:33
0
2
721

系统 win7 64位
服务器 apache 32位
mod_wsgi 32位 python 2.77 32位

搭建一个flask应用,简单的“hello world”没问题。换成我自己写的小应用首次访问就弹出

然后就一直是Internal Server Error,error.log中看不到相关的错误。

我自己搜索找到了相关的解决方案,但是没看太明白
Django / Apache / mod_wsgi - WEB Application Hangs - Fails to Launch
Runtime error R6034 in embedded Python application
根据步骤走到最后解决的步骤,不知道该如何下手,
上面说移除这个路径,怎么移除,到哪里移除?

PHP中文网
PHP中文网

认证高级PHP讲师

reply all (2)
巴扎黑

sqlite数据库路径的问题,修改成绝对路径

    小葫芦

    1.看来下错误提示是连接库的问题
    2.服务器不要在windows上折腾 现在基本都是linux的服务器 ubuntu centos居多
    3.最好自己装台linux的服务器试试 当然虚拟机跑linux也是可以的

    以上建议希望可以帮到你

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!