[mod_python] PSP returning empty result

Maelvon HAWK maelvon.hawk at laposte.net
Thu Dec 4 18:10:52 EST 2008


Thanks Nicholas

I've found this thread, and it give me the answer to my actual bug.

I'm on a Debian 4.0 ETCH, with a downgrade of the libc6 (Because of an 
VIA C7 CPU [1] on a Dedibox server).

Trying and testing to install mod_python with Apache2 & python2.5, my 
PSP file returned a white blank empty page.

And I've got the package "php5-recode" installed, once removed, I throw 
the test.psp file in my browser and the "Hello World!" appears!

RECIPE :
========
Install of "mod_python-3.3.1":
# wget http://ftp.wayne.edu/apache/httpd/modpython/mod_python-3.3.1.tgz
# tar -zxvf mod_python*3.1*
# cd mod_python-3.3.1/
# ./configure --with-apxs=/usr/bin/apxs2 --with-python=/usr/bin/python2.5
Remove php5-recode:
# apt-get remove php5-recode
Put Python2.5 as default in :
/usr/share/python/debian_defaults
# ln -sf /usr/bin/python2.5 /usr/bin/python
Add the psp Handler in apache2.conf
# apache2ctl -t
# apache2ctl -k graceful

Kenavo,

Maelvon

[1] Similar to the Bug 228263 in gentoo :
	http://bugs.gentoo.org/show_bug.cgi?id=228263



More information about the Mod_python mailing list