I installed wamp5 version 1.7.3 on a pc running winxp pro. It has php 5.2.4. This is supposed to have the gd library bundled but not enabled. So I enabled the GDL by uncommenting the appropriate line in php.ini. I also made sure extensions_dir points to the correct folder path (which it did by default). I restarted wampapache, and also restarted the pc. Regardless of what I do, phpinfo.php has no mention of the gd library being installed. What am I missing? According to all the searches I've done on this, it should be a no-brainer. Can anyone help me? Thanks.
GD library installed but not showing up
Collapse
X
-
Hi.
I've run into the same problem, where PHP is simply unable to find extensions.
Most of the time, for me at least, it was because PHP was using the wrong php.ini config file. I usually ended up manually adding the PHP install directory to the PATH variable and running the php.ini in that directory.
Sometimes, if I'm lazy, I just copy the php.ini file into the Windows directory and run it from there. That usually works.
I've also had to use an absolute path in the 'extension_path ' directive. That fixed if for me once. (Don't know why.)
Sometimes I just forget to restart apache, which is annoying, but not serious. And it seems you've already thought of that :P -
Originally posted by bearyI installed wamp5 version 1.7.3 on a pc running winxp pro. It has php 5.2.4. This is supposed to have the gd library bundled but not enabled. So I enabled the GDL by uncommenting the appropriate line in php.ini. I also made sure extensions_dir points to the correct folder path (which it did by default). I restarted wampapache, and also restarted the pc. Regardless of what I do, phpinfo.php has no mention of the gd library being installed. What am I missing? According to all the searches I've done on this, it should be a no-brainer. Can anyone help me? Thanks.
You can turn on the GD library in wamp by using its GUI. When wamp is running in xp you should see a little gage type thing in you task bar. Left click on it and you should see a wamp menu come up. Then click on PHP settings and then PHP extentions. From there make sure you have php_gd2 selected. This should turn on the GD library.
Hope this helps. Let me know.Comment
Comment