With a fresh install of AMPPS 1.9 I got an error when using python with mod_wsgi. (python 2.7 is also installed systemwide) A minimal wsgi app works, but when I add the line I get an error 500.
I studied the configuration and the linesCode WSGIPythonPath "{$path}\python" andCode WSGIPythonHome "
{$path}
\python\Lib;
{$path}
\python\Lib\site-packages;
{$path}
\python\DLLs" seemed wrong to me. After exchanging the values importing the sqlite3 module worked. This also makes more sense to me with the documentation of this directives in mind.
Are these values mixed up in the default configuration?
|