Hi,
I'm a newbie to linux/php hosting and am having some issues getting a site that requires gd extension for php.
I have built and installed php with the following command line:
'./configure' '--with-apxs2=/usr/sbin/apxs' '--with-mysql' '--with-openssl' '--with-zlib' '--with-bz2' '--with-curl' '--with-gd' '--with-ttf' '--enable-gd-native-ttf' '--with-jpeg-dir=/usr/lib/' '--with-png-dir=/usr/lib/'
phpinfo() shows the following under gd:
gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
GIF Read Support enabled
GIF Create Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
Also, running a small php script such as function_exists('ImageCreateFromPNG'), returns true.
However, the site that required GD is unable to find GD.
We are getting errors like
"Fatal error: Call to undefined function ImageCreateFromJpeg() in ..."
"Fatal error: Call to undefined function ImageTTFBBox() in ..."
Looks like I'm missing some configuration.
Any pointers on what is going wrong here?