Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
PHP Fatal error: Call to undefined function: imagefontheight()
GD is installed on my system (Linux Centos 4.3), as indicated by yum, and by the fact that Webmin uses it.
I have tried loading it as an extension, by including the line
extension=libgd.so
in a file inside /etc/php.d, but it does not find that library. If I link /usr/lib/php4/libgd.so to the actual library file in /usr/lib/libgd.so.2, then it complains that the file is not a php extension library.
I don't know what else to do, or what can be wrong.
Well, I ran the message through Google, and it's not an uncommon problem, so it seems. Before I tell you what I found, I should mention that I do not know PHP.
Now then, some solutions seemed to be:
Quote:
4) edit /etc/php/apach2-php4/php.ini
uncomment the "extension=php_gd2.dll" line
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe