在linux下安装django的遇到的错误
[root@localhost httpd]# /etc/init.d/apache2 start
Syntax error on line 47 of /usr/local/apache/conf/extra/httpd-vhosts.conf:Invalid command 'PythonPath', perhaps misspelled or defined by a module not included in the server configuration
各种纠结,到最后终于发现原理!!居然是
LoadModule python_module modules/mod_pytho.so
LoadModule python_module modules/mod_python.so我居然少写了一个字母!!!擦!
重启成功!
运维,容不得马虎!
本文详细记录了在Linux环境下使用Apache2启动时遇到的LoadModule配置错误,以及错误产生的原因和解决方案。通过检查配置文件并修正字母拼写错误,最终实现了成功启动。
2083

被折叠的 条评论
为什么被折叠?



