Semi-free discussion in this non-free world.
You are not logged in.
I got the listed example from php.net working on the Ubuntu sandbox server, the source file is available, as well as the original link, the code is here: http://gammasite.dontassrape.us:81/sand … fonts-php/
A couple of things to get the above working on ubuntu server... Make sure you:
sudo apt-get update
Then
sudo apt-get install php5-gd
Then
/etc/init.d/apache2 restart
Then
php -m |grep gd
(if it shows up gd without any errors, this is good!)
Then finally it should work and you should be able to play.
Offline
Sorry, just tried this on a new box Ubuntu Server 8.04... You need to have php5-cli installed in order to do the above grep command.
sudo apt-get install php5-cli
also, to restart apache, you need to sudo it
sudo /etc/init.d/apache2 restart
Offline