David,
While I have not run PHP 5, it is likely that TrueType fonts in PHP 4
and Mapserver are coming from the system libraries and the PHP 5 is
using TrueType or GD libraries that might be bundled with the PHP 5
distribution. PHP has historically come with a bundled version of GD
that is used to build it by default and it is important that you you
build it and mapserver using the SAME GD, TrueType, and Regex libraries
or you WILL get segmentation faults.
-Steve W.
David Badke wrote:
We were having a problem running PHP MapScript 4.8.1 under PHP 5.1.2
(Red Hat Linux). Using TrueType fonts caused segmentation faults; bitmap
fonts did not. The server guys have now changed things so that our
application runs under PHP 4.4.2, and "magically" the problem went away.
I am not entirely convinced that it was a PHP 5 problem.
My question: Can anyone definitively say that PHP MapScript 4.8.1 does
or does not work under PHP 5.1.2, particularly with regard to the use of
TrueType fonts? The last message I can find on this topic is a year old,
with no clear conclusion.
David