Windows上的Apache2.4、Python和Django

2024-05-04 15:58:53 发布

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

我正在使用Windows 8.1。并尝试配置XAMPP(apache2.4,VC11)来使用Python(我有2.7)和Django(1.7)。已下载mod_wsgi(VC9),已更改httpd.conf但是仍然让Apache关闭:有什么线索吗?在

Error: Apache shutdown unexpectedly. 06:24:31 [Apache] This may be due to a blocked port, missing dependencies, 06:24:31 [Apache] improper privileges, a crash, or a shutdown by another method. 06:24:31 [Apache] Press the Logs button to view error logs and check 06:24:31 [Apache] the Windows Event Viewer for more clues 06:24:31 [Apache] If you need more help, copy and post this 06:24:31 [Apache] entire log window on the forums


Tags: andthetodjangomodwsgiwindowsapache
1条回答
网友
1楼 · 发布于 2024-05-04 15:58:53

由于您使用的是Python2.7,所以您的Apache必须使用VC9进行编译,您可以从-(https://www.apachehaus.com/cgi-bin/download.plx#APACHE24VC09)下载所需的Apache。如果运行的是32位python安装,请确保下载32位版本;如果python安装是64位,请确保下载64位版本。在

相关问题 更多 >