Does anybody know what can cause a regular PHP function such as imagettfbbox() cannot be call in php version 5 site. I got this error return Fatal error: Call to undefined function imagettfbbox() in /home/bmgxtd/public_html/mtags/captcha/CaptchaSecurityImages.php on line 58 What PHP flag or server includes flag must be turn on to make this function work properly? Thanks
According to the manual: "This function requires both the GD library and the FreeType library". If either library is missing from the machine or this functionaility is not turned on and/or not compiled into your version of PHP the call to that function will fail. On my windows install I needed to uncomment extension=php_gd2.dll in the php.ini file to get GD to work. On my linux boxes I needed to recompile PHP to include the GD lib.
I am running linux and I do not have access to recompile PHP GD lib. What should I asked my hosting company to do for me to have it work? If I run phpinfo.php what parameter should I look for to find out what you mentioned above?
Just ask your host to add GD lib to PHP and keep all current settings. They will know what you need. I don't think this will be an issue since you are running Linux.