Invalid command'PythonPath'エラー

718 ワード

昨日apacheとmodをインストールしました.python開発環境は、インストールが完了すると起動できないことに気づきました.
システム・ログを問い合わせると、次のプロンプトが表示されます.
 
The Apache service named  reported the following error:>>> Invalid command 'PythonPath', perhaps misspelled or defined by a module not included in the server configuration     .
 
 
複数の原因と検証を経て、問題点を発見した.
一言欠けた.
LoadModule python_module modules/mod_python.so
 
原文提示:
Scroll down and look for a section that includes a bunch of lines that start with LoadModule. Add the following line to that section: LoadModule python_module modules/mod_python.so LoadModule , ok 。