Just an FYI:
If you have any users complaining about not being able to use the imagettftext() function in PHP, as indicated by the following error message:
Fatal error: Call to undefined function imagettftext()
The solution (for me anyways) was to make sure that freetype-devel was installed and then to add:
--enable-gd-native-ttf
--with-ttf
--with-freetype-dir=/usr
to the configure.php file and then do a
./build php
service httpd restart
I burned a few hours trying to fix that today. Just thought I'd someone else the trouble.
If you have any users complaining about not being able to use the imagettftext() function in PHP, as indicated by the following error message:
Fatal error: Call to undefined function imagettftext()
The solution (for me anyways) was to make sure that freetype-devel was installed and then to add:
--enable-gd-native-ttf
--with-ttf
--with-freetype-dir=/usr
to the configure.php file and then do a
./build php
service httpd restart
I burned a few hours trying to fix that today. Just thought I'd someone else the trouble.
Last edited: