Page 1 of 1

Python-AddOn: XAMPP for Linux

PostPosted: 22. April 2004 18:16
by Kristian Marcroft
Hallo liebe Freunde des Apaches,

Ich habe soeben eine neue Version des Python-AddOns für die XAMPP for Linux Version released.

Download

Changes:
Python-AddOn-0.2 <-- Python-AddOn-0.1

- python.conf hinzugefügt
- neue Beispiel Scripts hinzugefügt
- LICENCES, README und NEWS hinzugefügt

Für Leute die noch die Python-AddOn-0.1 haben:
Es ist kein update "notwendig"!

Das AddOn enthält zur Zeit:

- Python 2.3.3
- mod_python 3.1.3


Um das AddOn zu installieren:

Code: Select all
tar xvfz python-addon-0.2.tar.gz -C /opt


In der httpd.conf folgendes ans Ende eintragen:

Code: Select all
Include etc/python.conf


Anschliessend XAMPP/Apache neustarten.

Um das AddOn zu deinstallieren:

Code: Select all
/opt/lampp/uninstall-python



Über zahlreiches Feedback freue ich mich sehr

So long
KriS

PostPosted: 13. June 2004 19:33
by Kristian Marcroft
Hallo liebe Freunde des Apaches...

Mal ein Update des AddOns.

Python-AddOn-0.3
Code: Select all
This AddOn includes:

- Python 2.3.4 <br>
- mod_python-3.1.3 for Apache.
- Python-Imaging-Lib-1.1.4
- egenix-mx-experimental-0.8.0 (mxTidy, mxNumber, etc.)

Python-AddOn-0.3
To activate mod Python there is now a prepared conf file.
Add the following line to your httpd.conf:
"Include etc/python.con"

Then restart/reload Apache.



Download
Viel Spass damit

So long
KriS

python install location

PostPosted: 08. May 2006 12:50
by THX-1138
I first installed like so:

Code: Select all
tar xvfz python-addon-n.m.tar.gz -C /opt


but this installs everything in:
/opt/Python-Addon-1.3/lampp

not:
/opt/lampp

for example, mod_python.so ends up in
/opt/Python-Addon-1.3/lampp/modules
instead of
/opt/lampp/modules

and python.conf ends up in
/opt/Python-Addon-1.3/lampp/etc
when it clearly should be
/opt/lampp/etc

can this be correct? It did not seem to work for me like this, so I moved everything up to /opt/lampp but now I get this error:

Code: Select all
httpd: Syntax error on line 503 of /opt/lampp/etc/httpd.conf: Syntax error on line 1 of /opt/lampp/etc/python.conf: API module structure `python_module' in file /opt/lampp/modules/mod_python.so is garbled - perhaps this is not an Apache module DSO?


vielen dank fuer sie hilfe

Joe