在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我居然少写了一个字母!!!擦!
重启成功!
运维,容不得马虎!