Apache
will segfault if PHP's gd extension uses its own gd library AND
mod_perl (or any other Apache module) loads the system gd library. The
solution is to force PHP to link against the system gd library instead
of using its own.
If you have PHP on the same server as WeBWorK, and PHP has the gd
extension installed, run ldd on the gd extension (located somewhere
like /usr/local/lib/php/20020429/gd.so) and see if it's linked against
libgd. If it isn't, you will have trouble.
This can also be a problem with the PHP mysql extension -- it can
similarly be built with an internal libmysqlclient or linked against
the system's.
The solution, in both cases, is to specify a prefix for the library during PHP's configure phase: --with-gd=/usr/local or --with-mysql=/usr/local .
-sam
<| Post or View Comments |>
|