Open-AudIT

What's on your network?
It is currently Fri Nov 24, 2017 6:41 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
PostPosted: Tue Jul 25, 2006 4:22 am 
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();
?>


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.


Top
  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group