If you are not seeing the image next to the percent used graphic, you probably don't have the gd library enabled for php. You can double check this by making a file called "phpinfo.php" (actual name doens't matter) and then insert these lines into that file:
[code]<?php phpinfo(); ?>[/code]
When you run this file, it will list information about your php install. Check to see if the gd library is listed. If not, you will need to enable it. To enable it, edit the php.ini file. For windows, this may be in a windows directory, or maybe a php, you could just search for it. For Ubuntu LAMP servers, you'll find it in /etc/php5/apache2/. Find the section about extensions. You will probably see a listing for gd (either gd.so or gd.dll). You will need to uncomment this line. The line should look like this:
extension=gd.so (linux)
extension=gd.dll (windows)
If you are using windows, the gd.dll file is most likely installed (I don't know if they compile it into the php binary?). For ubuntu, you may need to install it: sudo apt-get install php5-gd
I foud that on ubuntu, you won't need to mess with the php.ini file, just install php5-gd and restart apache.
After all this, restart your apache server (Ubuntu: sudo /etc/init.d/apache2 restart Windows: restart the apache service). Run phpinfo.php again and you should see the gd library listed. Then try the disk usage graph page again, it should work.
|