Closed GoogleCodeExporter closed 8 years ago
This is usually caused by mod_php being loaded into the same Apache and with
the GD extension module being loaded. See:
http://groups.google.com/group/modwsgi/browse_thread/thread/fa1ce8c9a9e45db1?tvc
=2
If you have mod_php being loaded and don't need it, then don't load it into
Apache. That or you will need to disable the GD extension if PHP extensions
configuration.
If the GD extension isn't being loaded, then could be some other PHP extension
causing the problem.
In short, one of the PHP extensions is linking with libraries which use MacOSX
CoreFoundation library and that fact is then preventing forks from Apache child
processes. It is not specifically a mod_wsgi problem.
Original comment by Graham.Dumpleton@gmail.com
on 20 Apr 2011 at 6:42
In this case mod_php is not loaded.
The trigger for these errors is a call to GNU libtool's "lt_dlopenext()". As
you say, it is not specifically a mod_wsgi problem, and due to something using
the Core Foundation library.
I've eventually gone with Cherokee and uWSGI...
Original comment by d.bro...@auckland.ac.nz
on 20 Apr 2011 at 10:41
Then it may be the actual RDF library you are using. Something somewhere is
linking in CoreFoundation library when that is always a safe thing to do with
anything but GUI based apps that don't do any forking.
Original comment by Graham.Dumpleton@gmail.com
on 20 Apr 2011 at 10:46
The puzzling thing is that the RDF library does not use nor link Core
Foundation code.
Found it with "nm -go /usr/libexec/apache2/* | grep CF".
mod_bonjour.so is the culprit -- everything works with the "LoadModule
bonjour_module" line commented out in httpd.conf.
And lo and behold, the sources in
http://www.opensource.apple.com/tarballs/apache_mod_bonjour/apache_mod_bonjour-1
2.tar.gz use CoreFoundation functions...
Original comment by d.bro...@auckland.ac.nz
on 21 Apr 2011 at 1:25
That is odd, it is one of the default so I load up mod_bonjour and have no
problem with it. What other non standard Apache modules are you using?
Original comment by Graham.Dumpleton@gmail.com
on 21 Apr 2011 at 1:36
None -- just the Apple defaults.
Original comment by d.bro...@auckland.ac.nz
on 21 Apr 2011 at 1:51
Original issue reported on code.google.com by
d.bro...@auckland.ac.nz
on 20 Apr 2011 at 12:28