Page 1 of 1

Python addin started as service??

PostPosted: 14. June 2004 01:40
by nevermind
I don't quite understand. Is it possible to start Apache as a service with python?

PostPosted: 14. June 2004 09:24
by Wiedmann
Python Addon 1.4.2 readme wrote:ATTENTION: For the Apache HTTPD
as service, you need the system variable PYTHONHOME like this:
PYTHONHOME = C:\Programme\xampp\python

A second way ist to make file like this:
Code: Select all

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]

Change the path to the Python path on your system. There must be double backslashes! Import the file into the registry with a doubleclick in Explorer.

Restart computer. Start Apache service.

PostPosted: 14. June 2004 15:13
by nevermind
Thanks for the quick reply. I had read the first statement in the readme but didn't quite get it. Now I do. :wink: