Closed GoogleCodeExporter closed 9 years ago
This issue is described in the section 'MySQL Shared Library Conflicts' of
http://code.google.com/p/modwsgi/wiki/ApplicationIssues document.
There are also sections in there describing similar things that can happen when
using
SSL, expat, PHP md5hash and pysqlite.
Can you indicate if you were using daemon mode of mod_wsgi? Ie., using
WSGIDaemonProcess/WSGIProcessGroup to delegate WSGI application to run in a
distinct
daemon process.
If PHP delays its loading of modules until Apache child process are created and
initialised, it is possible that using mod_wsgi daemon mode would result in the
PHP
MySQL version mismatch not being a problem as the MySQL library required by PHP
wouldn't have been loaded in the mod_wsgi daemon process. I am not sure how PHP
works
though so do not know if this will be the case or not. If PHP preloads
everything in
Apache parent process, same problem would occur.
Use of daemon mode will not help in the case though where MySQL is being used
by an
Apache module such as mod_auth_mysql or mod_dbd_mysql as in that case the MySQL
library which clashes would have definitely been loaded in the Apache parent.
For
this situation, you would get similar problems with PHP if it used a different
version of the MySQL library. Thus doesn't apply only to mod_python and
mod_wsgi and
can cause problems for PHP as well.
Original comment by Graham.Dumpleton@gmail.com
on 26 Aug 2007 at 1:28
Original comment by Graham.Dumpleton@gmail.com
on 31 Aug 2007 at 12:45
Original issue reported on code.google.com by
ferenczi.viktor
on 25 Aug 2007 at 11:33