xampp
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
xampp [2011/06/01 20:07] – created dblume | xampp [2023/04/12 20:44] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
How to add Python onto a xampp installation. | How to add Python onto a xampp installation. | ||
- | Got this from [[http:// | + | Got this from: |
+ | - macouno.com' | ||
+ | - elvenware.com' | ||
===== Configuring the server ===== | ===== Configuring the server ===== | ||
- | In the httpd.conf file for your apache installation (part of xampp) add the following all the way at the bottom. In my case the httpd.conf can be found here: C: | + | In the httpd.conf file for your apache installation (part of xampp) add the following all the way at the bottom. In my case the httpd.conf can be found here: '' |
<file apache httpd.conf> | <file apache httpd.conf> | ||
Line 15: | Line 18: | ||
AddHandler cgi-script .py | AddHandler cgi-script .py | ||
ScriptInterpreterSource Registry-Strict | ScriptInterpreterSource Registry-Strict | ||
+ | </ | ||
+ | |||
+ | or append " | ||
+ | |||
+ | <file apache httpd.conf> | ||
+ | AddHandler cgi-script .cgi .pl .asp .py | ||
</ | </ | ||
Line 22: | Line 31: | ||
<file python> | <file python> | ||
- | #!C:/Python26/python.exe | + | #!C:/Python27/python.exe |
+ | </ | ||
+ | |||
+ | or, | ||
+ | |||
+ | <file python> | ||
+ | # | ||
</ | </ | ||
xampp.1306984059.txt.gz · Last modified: 2023/04/12 20:44 (external edit)