Toewe - 2016-08-29

Hi All,
We are upgrading our Mac Mini webserver to El Capitan (OSX 10.11) by doing a fresh install and have most of Phplot working until we try to use TrueType Fonts commands. In this event we get an error status=500, 'internal server error'. Any one or more of the following commands gives the same error:

#$plot->SetDefaultTTFont();
#$plot->SetUseTTF(TRUE);
#$plot->SetDefaultTTFont("Arial.ttf");
#$plot->SetFontTTF('generic',"/Library/Fonts/Arial.ttf", 14);

It appears tht PHP and GD is included in the basic OS, but maybe not as fully as is needed phplot requires. Is this true? My phpinfo file lists the following for the php section:

System  Darwin 107-218-164-81.lightspeed.austtx.sbcglobal.net 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64
Build Date  May 29 2016 01:01:23
Configure Command   '/Library/Caches/com.apple.xbs/Binaries/apache_mod_php/apache_mod_php-108~11/TempContent/Objects/php/configure' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--sysconfdir=/private/etc' '--with-libdir=lib' '--enable-cli' '--with-iconv=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.Internal.sdk/usr' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/Library/Server/Web/Config/php' '--with-libxml-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.Internal.sdk/usr' '--with-openssl=/usr/local/libressl/include
Server API  Apache 2.0 Handler
Virtual Directory Support   disabled
Configuration File (php.ini) Path   /etc
Loaded Configuration File   /etc/php.ini
Scan this dir for additional .ini files /Library/Server/Web/Config/php
Additional .ini files parsed    /Library/Server/Web/Config/php/php.ini
PHP API 20121113
PHP Extension   20121212
Zend Extension  220121212
Zend Extension Build    API220121212,NTS
PHP Extension Build API20121212,NTS
Debug Build no
Thread Safety   disabled
Zend Signal Handling    disabled
Zend Memory Manager enabled
Zend Multibyte Support  provided by mbstring
IPv6 Support    enabled
DTrace Support  disabled
Registered PHP Streams  https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, tls
Registered Stream Filters   zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk

and for GD, the following:

GD Support  enabled
GD Version  bundled (2.1.0 compatible)
GIF Read Support    enabled
GIF Create Support  enabled
JPEG Support    enabled
libJPEG Version 9 compatible
PNG Support enabled
libPNG Version  1.6.20
WBMP Support    enabled
XBM Support enabled

Thanks in advance for any help.
Fred