nvalid command 'PythonPath', perhaps misspelled or defined by a module not included in the server co

来源:互联网 发布:lolypop女装淘宝网 编辑:程序博客网 时间:2024/06/05 12:06

在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我居然少写了一个字母!!!擦!

重启成功!

运维,容不得马虎!

原创粉丝点击