mod_python and Apache on Windows XP



I successfully installed and configure mod_python 3.3 with Apache 2.2.4 on Windows XP. Here are some of the problems I encountered :

  • I found that python.exe should be in the system path (this might not be true due to the next problem)
  • At first, I installed python only for the current user, me. I had forgotten that Apache runs as the system user. With this configuration, Apache was unable to read python's registry entries. Installing python for all users corrected the problem.
Maybe having python in the system path is useless if it has been installed for all users. I'll try that later...