|
The first thing to check is that you have the GD dll
on your system
Look in the directory "./ext" where you
have installed PHP. In this directory you should see a file "php_gd2.dll" ( or "php_gd.dll").
If the file is there then you have the GD module, if not then you will need to obtain this DLL ( see
below » )
The next thing to do is look in your php.ini
file for the line,
extension=php_gd2.dll
( or extension=php_gd.dll )
If
this is commented out (ie with
a semicolon in front of it)
then uncomment it and save the
php.ini file.
You
may also need to modify the
directive "extension_dir".
This directive tells PHP where
to find the dlls for the modules,
eg,
extension_dir
= "c:/php/ext/"
Stop Web Server and then restart.
That
should be all there is to it.
Now when you run the phpinfo
command you should see the GD
section in the list.
| How to Obtain
the php_gd2.dll |
|
The GD dll's are provided in the latest
download packages of the PHP installation for windows.
Download the zip package for Windows from
the following page:-
http://www.php.net/downloads.php
Unzip the package and copy the php_gd2.dll
from the ./ext/ dir to the /ext/ dir of your installation.
( In some cases it is also necessary to
place a copy of all the DLL's in the ./ext/ dir in the ./system32 dir. )
|
|
|
Any Problems
?
Please feel free to contact us and we will endeavor to help -
click here»
|
|
«back to top
|