Apache Mod-Python - Created: (MODPYTHON-232) PHP mhash module causes problems

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > June 2007 > Created: (MODPYTHON-232) PHP mhash module causes problems





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Created: (MODPYTHON-232) PHP mhash module causes problems
Graham Dumpleton (JIRA)

2007-06-29, 1:13 am

PHP mhash module causes problems with Python md5 module.
--------------------------------------------------------

Key: MODPYTHON-232
URL: https://issues.apache.org/jira/browse/MODPYTHON-232
Project: mod_python
Issue Type: Improvement
Components: core
Affects Versions: 3.3.1
Reporter: Graham Dumpleton
Priority: Minor


The Python md5 module is used in Session/Cookie code and also in the new module importer of mod_python 3.3.1.

For some php installations where php mhash module is being loaded, there is some sort of conflict between the two md5 hash libraries. This can result in mod_python code which relies on md5 module to not work properly.

To avoid this problem, suggest that Apache APR md5 routines being exposed through the _apache module and mod_python use that whereever md5 hashes required. This way operation of mod_python at least will not be comprised, although it will not help with hig
her level application such as Django which access md5 module themselves.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com