2-where should it be placed?
2. In PHP Windows distribution GD -library is built in.
to be as set and available but it didn't accept my setting.
I have the php 4.3.3
How I can be sure that I have the right version of GD and where it is installed?
Load the following page:
Look for the GD info on that page.
Login as admin -> admin -> click the phpinfo link at the bottom
I sometimes forget the time saving new features
You might also need to enable the extension, it's disabled by default....
Check your php.ini file and search for
and make sure it isn't commented out.
Also make sure to put the php_gd2.dll from the extensions folder in your PHP install folder into the /WINNT/system32 folder on your server.
Once I did this moodle autodiscovered the GD install and version as 2.0 and all is well
I just installed PHP using the Windows Installer. I do not see an "extensions" directory in "c:\\php" (which is where i told the installer to install php).
I do see a directory:
Which has a "dlls" directory inside of it. Inside of this directory is:
I tell the moodle variables page that 2.x is installed, however it reverts back to the "not installed" setting upon refresh. My phpinfo has nothing about gd in it. When I upload any jpegs or gifs in the profile page, it tells me these formats are not supported.
I cannot find php_gd2.dll anywhere on my machine.
Hello, i have some similar problem with the GD library, when i try to see a graph generated from a survey i can't see anything, and when i try to see the graph directly from my browser i only can see the following messages...
Warning: imagettfbbox(): Could not find/open font in c:\program files\easyphp1-7\www\dsi_acatlan\lib\graphlib.php on line 1320
Warning: imagettfbbox(): Could not find/open font in c:\program files\easyphp1-7\www\dsi_acatlan\lib\graphlib.php on line 1334
The other problem that i have is when i try to see the graph generated from the activity option on the participants option.... in this case i can see a graph, but there aren't any legends..
i belive that this mus be related to some configuration, but i dont know how to do it, please can someona help me?
i have an laptop with winxp home edition, and the easyphp1-7 installed...
thank you for you help
I currently can't get php_gd2.dll to run at ALL either...
I have followed everyones steps so far I even changed this extention location in the php.ini to
Directory in which the loadable extensions (modules) reside.
extension_dir = "c:\WINNT\system32"
I still keep gettng an error telling me it is unable to load the dll
"Specified modual can not be found" ?
Any Ideas ..TIA
Did you restart your computer after installing the GD extensions? If not, try that.
Hope that helps.
tried it ...
Anyone else ?
This is how I fixed it on my test machine. Edit c:\windows\php.ini to have the following:
Place the extension DLLs in c:\php\extensions (or in c:\windows\system32). In this case it should have at least php_gd2.dll in that directory.
Under "Paths and Directories" section, edit the following (match the path of where you stored the DLLs):
extension_dir = c:/PHP/extensions/
- Under "Dynamic Extensions" section, uncomment the desired extensions:
extension=php_gd2.dll <-- remove the semicolon in front of this extension
- Make sure the version of PHP running on the server also matches the version of the DLLs. If you installed the IIS version of PHP (PHP 4.3.x installer), it will not contain the php extension dlls. If later you downloaded the other version of PHP (PHP 4.3.x zip file, for Apache, etc.) which has all those extensions, make sure both versions match (4.3.4 version, for example). In other words, the version of PHP must match the version of the extension DLLs. Do not mix and match.
Thank you, I'll give that a try after I upgrade to 1.2, which im in the middle of now ...
Siegwart Mayr you were right ..... it was a version error.
I had originally installed php 4.3.2 installer package on IIS 5 a while back.
Then the other day when I searched for php_gd2.dll I must have gotten a different ver of it from some other package
I went to the php.net archives and pulled up the 4.3.2 ver
Thank you everyone for your help in this matter !!
BTW ... upgraded to 1.2 flawlessly ;)
now I just gotta figure out how to add mulimedia stuff