Forgive me if this is covered elsewhere.
I have had PHP and Apache2 running fine on this box for quite some time.
Now I am trying to recompile PHP to add GD. Here is the process I am using:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-gd --with-zlib-dir=/usr/include
make
make install
/usr/local/apache2/bin/apachectl stop
/usr/local/apache2/bin/apachectl start
Everything runs fine. But phpinfo() still shows the old config and build date, and it shows GD support is active but I get this error when trying to run my script.
Call to undefined function: imagettfbbox();
This function requires both the GD library and the FreeType library, which are installed.
Does anyone have a clue what to do in order to get Apache to recognize the new config ?