php image functions dont work
I am trying to use the Image functions within php.
example - imagefontwidth
I get this error
Fatal error: Call to undefined function: imagefontwidth() in _________ on line 10
So I read that I need to install the GD libraries when I configure PHP.
I have version 4.4.1 of PHP running.
the php documentation indicates the gd lib is included and I should use configure --with-gd so I did that.
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-gd
I then read this
To enable GD-support configure PHP --with-gd[=DIR], where DIR is the GD base install directory. To use the recommended bundled version of the GD library (which was first bundled in PHP 4.3.0), use the configure option --with-gd. GD library requires libpng and libjpeg to compile.
this is where I need help...where do I put these files and what should the list look like.
Let me start there.