05-13-2008, 12:55 PM
(This post was last modified: 05-13-2008, 12:58 PM by Ghost Assassin.)
I have hlstats installed properly and everything is working except the graphs don't show up. I have wamp server installed and I followed all the directions at the hlstats website. I have the lastest versions of php, mysql, apache on wamp server. For some reason the graphs won't show up. I followed what they said to download but I don't get what I'm supposed to be downloading. I'm lost on this part. The beginning with downloading that program. I downloaded it and it doesn't really tell you what it does..just says you just need for the graphs to show up. I already have all that other stuff right after the first thing about downloading a program. I already have had php_gd2.dll enabled on wamp server and I when I go check my hlstats site..the pictures don't show..just an x with a box around it. It's recording stats I think cuz it tells me the current map and how long it has been.
Down below is what is on the hlstats website. I don't get what I do with taht program I need to download. php_gd2.dll is already on wamp server. I don't get it why it doesn't work.
Displaying Graphs
http://gnuwin32.sourceforge.net/packages/gd.htm links to the a setup program for gd graphics library which is needed to display graphs. http://prdownloads.sourceforge.net/gnuwin32/gd-2.0.33-1.exe?download is the direct link.
Run the setup and select "Full Installation".
Now you will need to update your PHP installation to use gd2:
Download "PHP 4.4.1 zip package" from http://www.php.net/downloads.php
Extract the files to a temporary folder (I will use .../php-4.4.1-Win32 as an example)
Move the .../php-4.4.1-Win32/dlls and .../php-4.4.1-Win32/extensions folders to your PHP install directory (EHP)
Copy EHPgds32.dll to E:Windows
Open E:Windowsphp.ini
Find the lines:
; Directory in which the loadable extensions (modules) reside.
extension_dir =
and change to the below value (remember to use / not with windows:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "E:/PHP/extensions"
Now find:
;extension=php_gd2.dll
Remove the ";" from this line to enable it as shown below:
extension=php_gd2.dll
Save php.ini
Down below is what is on the hlstats website. I don't get what I do with taht program I need to download. php_gd2.dll is already on wamp server. I don't get it why it doesn't work.
Displaying Graphs
http://gnuwin32.sourceforge.net/packages/gd.htm links to the a setup program for gd graphics library which is needed to display graphs. http://prdownloads.sourceforge.net/gnuwin32/gd-2.0.33-1.exe?download is the direct link.
Run the setup and select "Full Installation".
Now you will need to update your PHP installation to use gd2:
Download "PHP 4.4.1 zip package" from http://www.php.net/downloads.php
Extract the files to a temporary folder (I will use .../php-4.4.1-Win32 as an example)
Move the .../php-4.4.1-Win32/dlls and .../php-4.4.1-Win32/extensions folders to your PHP install directory (EHP)
Copy EHPgds32.dll to E:Windows
Open E:Windowsphp.ini
Find the lines:
; Directory in which the loadable extensions (modules) reside.
extension_dir =
and change to the below value (remember to use / not with windows:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "E:/PHP/extensions"
Now find:
;extension=php_gd2.dll
Remove the ";" from this line to enable it as shown below:
extension=php_gd2.dll
Save php.ini