473,413 Members | 1,833 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

GD library installed but not showing up

170 100+
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.
Nov 13 '07 #1
3 2394
Atli
5,058 Expert 4TB
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
Nov 13 '07 #2
brettl
41
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.
Hey There

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.
Nov 13 '07 #3
beary
170 100+
Thankyou atli and brettl,

Brettl, your solution was perfect. And unbelievably easy. I didn't even know about the php gui, so thanks! Everything works now.

Cheers.
Nov 14 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Roy Riddex | last post by:
Complete newbie question here. I'm a student and have installed a student licensed version of VB6. The MSDN library/help files are on a seperate disc but for the life of me I cannot work out how to...
2
by: Thomas Miller | last post by:
Hello, I have built a c# class library (I will call it "Assembly1"), and built an installer that installs it. It is working well. I created a new asp.net application, right-clicked on references...
13
by: Rolf | last post by:
I have Office97Pro, Office2000Premium and OfficeXP Pro all installed. I'm creating an Access97 application for another person and need to set a reference to Microsoft Office 8.0 Object Library....
7
by: TJ | last post by:
In C# how do you achieve pass-by-reference property declarations in the Type Library? I am writing a COM Class Library that must mimick an existing library for which the only information is the...
44
by: Jeff | last post by:
Hi I have a library mde that is used with some customer databases and I found out that another developer discovered it while doing some maintenance work on an old database for the same customer...
4
by: P.Kienzle | last post by:
When I try to run the Build for the Enterprise Library, I get several messages referring to the .csproj files... stating that they are not installed (see below). They are located at the directory...
6
by: ivan.leben | last post by:
Hi! I know this question is more suitable for gnu.utils group but im posting here, since that group looks almost dead (last post 1 May with no reply yet) and I need the answer much faster. I...
1
by: GaryDean | last post by:
I now have installed (from the same install) Enterprise Library - January 2006 and Enterprise Library - June 2005. The install for these two was called Enterprise Library for .Net 2.0. (not...
1
by: premMS143 | last post by:
Hi, I Installed ASTON software to my Windows Vista OS. After instaling i asked for log off & then restarted the system. After restarting I got only Windows logon screen. But after accepting...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.