Python addin started as service??

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Python addin started as service??

Postby nevermind » 14. June 2004 01:40

I don't quite understand. Is it possible to start Apache as a service with python?
nevermind
 
Posts: 2
Joined: 14. June 2004 01:34

Postby Wiedmann » 14. June 2004 09:24

Yes
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:
PYTHON_ENV.reg
Code: Select all
REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
"PYTHONHOME"="C:\\Programme\\xampp\\python"



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.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby nevermind » 14. June 2004 15:13

Thanks for the quick reply. I had read the first statement in the readme but didn't quite get it. Now I do. :wink:
nevermind
 
Posts: 2
Joined: 14. June 2004 01:34


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 50 guests