level 1
看海花怡楼
楼主
环境:
wampserver ----可以理解为用的apache,2.4.xx
python3.7
下载的wsgi配件为mod_wsgi-4.7.1+ap24vc15-cp37-cp37m-win_amd64
安装且没问题,加入到httpd后。
添加虚拟主机配置多端点。若不加Options,
则报错Options ExecCGI is off in this directory
加上后,要修改django的wsgi.py文件,第一行加上#!
否则报错is not executable; ensure interpreted scripts have "#!" or "'!" first line
最后加上#!,最后报错。
(OS 193)%1 不是有效的 Win32 应用程序。 : [client ::1:57455] couldn't create child process: 720193: wsgi.py
但是我检查python是64位的,apache也是64位的。我不是很清楚,到底哪里出错了,有没有大佬可以帮帮忙
2020年03月09日 02点03分
1
wampserver ----可以理解为用的apache,2.4.xx
python3.7
下载的wsgi配件为mod_wsgi-4.7.1+ap24vc15-cp37-cp37m-win_amd64
安装且没问题,加入到httpd后。
添加虚拟主机配置多端点。若不加Options,
则报错Options ExecCGI is off in this directory
加上后,要修改django的wsgi.py文件,第一行加上#!
否则报错is not executable; ensure interpreted scripts have "#!" or "'!" first line
最后加上#!,最后报错。
(OS 193)%1 不是有效的 Win32 应用程序。 : [client ::1:57455] couldn't create child process: 720193: wsgi.py
但是我检查python是64位的,apache也是64位的。我不是很清楚,到底哪里出错了,有没有大佬可以帮帮忙