I’ve created a PHP app using GD on my local server (MAMP) and everything works perfectly, now I’ve put it up online it’s displaying differently…
The only difference as far as i can see by comparing phpinfo() on the local and live servers is the FreeFont version (2.2.1 and 2.4.4). I have access to WHM on a dedicated server, but can’t see how i update this version so everything works again!
My Apache and WHM skills are limited, but there must be a semi simple way to do this?
You need to upgrade the development libraries for FreeType so next time you compile PHP through WHM EasyApache it uses the newer lib files from FreeType when building the FreeType extension.
On CentOS, do
yum install freetype-develoryum update freetype-develsince you probably already have it installed. Then rebuild PHP through EasyApache and you should have the newer version.