Python-AddOn: XAMPP for Linux

Hier geht es um XAMPP AddOns wie z. B. das Apache-Konfigurations-Tool Apanatschi. Irgendwelche Probleme damit oder Fragen dazu? Dann ist hier genau der richtige Ort um nachzufragen.

Python-AddOn: XAMPP for Linux

Postby Kristian Marcroft » 22. April 2004 18:16

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
Last edited by Kristian Marcroft on 16. July 2004 14:43, edited 1 time in total.
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby Kristian Marcroft » 13. June 2004 19:33

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
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

python install location

Postby THX-1138 » 08. May 2006 12:50

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
THX-1138
 
Posts: 1
Joined: 08. May 2006 02:16


Return to XAMPP AddOns

Who is online

Users browsing this forum: No registered users and 78 guests