473,909 Members | 2,275 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to make php_gd2.dll working

Nert
64 New Member
hello,

i had the extension php_gd2.dll, and put it on "c:\php\ext " ( this is my extension_dir ), i also uncommented the php_gd2.dll in my php.ini, i am using PHP 5.1.2.

now my problem was, i always ecounter this error message:
[PHP]
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php _gd2.dll' - The specified module could not be found. in Unknown on line 0

[/PHP]

does anyone know about this? i've been searching about this problem from the internet, right now i haven't find the answer yet..

i'll appreciate any comments and suggestions regarding my problem.
thanks in advance.


--nert (^_^)
Jan 8 '07 #1
9 18144
ronverdonk
4,258 Recognized Expert Specialist
Suggestions:

1. stop and restart your server
2. run phpinfo() and look at the 'gd' section of the report. First line should read "GD Support enabled ". Second line "GD Version bundled ...."

Ronald :cool:
Jan 8 '07 #2
Nert
64 New Member
Suggestions:

1. stop and restart your server
2. run phpinfo() and look at the 'gd' section of the report. First line should read "GD Support enabled ". Second line "GD Version bundled ...."

Ronald :cool:
hi Ronald,

thanks for the reply, i've already restarted the server many times.., and still my phpinfo() doesn't display the 'gd' section. What i found is only this

Configure Command = cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"
i'm sorry, because this is just the first time i work with this php extension, and don't know how to configure it so that PHP can able to load it. Right now i'm still searching the web for any instructions on how to make php_gd2.dll be loaded by PHP.

anyone out there can help me?
Jan 9 '07 #3
Nert
64 New Member
i still can't figure out why my php.ini can't load the php_gd2.dll extension
here is my php.ini configuration

the extension_dir was set correctly
; Directory in which the loadable extensions (modules) reside.
extension_dir = "c:\PHP\ext "
the php_gd2.dll extension was uncommented
;
;extension=php_ mbstring.dll
;extension=php_ bz2.dll
;extension=php_ curl.dll
;extension=php_ dba.dll
;extension=php_ dbase.dll
;extension=php_ exif.dll
;extension=php_ fdf.dll
;extension=php_ filepro.dll
extension=php_g d2.dll
i've already put the php_gd2.dll file in my extension folder (c:\PHP\ext) and i restarted my server many times but still can't find any gd section in my phpinfo.

this error message always appear at the bottom of my page.
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\PHP\ext\php _gd2.dll' - The specified module could not be found. in Unknown on line 0
anyone knows how to solve this problem? or anyone had encountered this problem and find solution? please help.., i am new with this php extension.

thanks in advance.

--nert
Jan 26 '07 #4
Motoma
3,237 Recognized Expert Specialist
I believe you have set up the extension_dir variable incorrectly, try swapping the direction of your slashes:
Expand|Select|Wrap|Line Numbers
  1. extension_dir = "c:/PHP/ext/"
  2.  
Jan 26 '07 #5
Nert
64 New Member
I believe you have set up the extension_dir variable incorrectly, try swapping the direction of your slashes:
Expand|Select|Wrap|Line Numbers
  1. extension_dir = "c:/PHP/ext/"
  2.  
thank's Motoma,

ok ahmmn, i've change the direction of my slashes and restarted my server but still my php can't load the php_gd2.dll. Is there anything that i need to change? am i missing something? please post me an instructions on how to run php 5.1.2 with GD enabled.., right now i'm still searching over the web to find solution to this problem. Thanks.


--nert(^_^)
Jan 27 '07 #6
Motoma
3,237 Recognized Expert Specialist
thank's Motoma,

ok ahmmn, i've change the direction of my slashes and restarted my server but still my php can't load the php_gd2.dll. Is there anything that i need to change? am i missing something? please post me an instructions on how to run php 5.1.2 with GD enabled.., right now i'm still searching over the web to find solution to this problem. Thanks.


--nert(^_^)
Could you post back a little more information about your system? Things like what web-server you are using as well as they type of php installation you used.
Jan 28 '07 #7
Nert
64 New Member
Could you post back a little more information about your system? Things like what web-server you are using as well as they type of php installation you used.
thanks for the help anyway Motoma,

I already have PHP now with GD enabled.., what i just did was to install the lower version of PHP, the PHP 4.4.4 and downloaded it's packages.., and check my phpinfo and there's GD instantly enabled.., although not really instant i still configure php.ini so that PHP will load the php_gd2.dll extensions.

anyway this is not the last time i will post a question about php in this forum.., see you soon. thanks..(^_^)

--nert
Jan 29 '07 #8
It all has to do with the version of the GD dll. Download a php pack with your version and all extensions and IIS won't cry anymore.
Oct 4 '10 #9
gonenc
1 New Member
Edit httpd.conf and Add
Expand|Select|Wrap|Line Numbers
  1. PHPIniDir "C:/PHP"
May 4 '15 #10

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

Similar topics

7
2689
by: lawrence | last post by:
2 Questions: 1.) Can anyone think of a way to speed up this function? It is terribly slow. I plan to reduce the number of directories to 3, which I guess will speed it up in the end. 2.) This seems to be the brute force method, and I'm wondering if anyone can think of a better strategy. I've been asked to make life easy on graphic designers by not making assumptions about where I might find the files that the software might need to...
28
2847
by: AK | last post by:
Hi, I recently read an advice here that one should try to use make and version control system even if you're the only one working on the program. Is that a good advice? How many of you do that? Thanks, -AK
1
2530
by: lem | last post by:
under solaris: # make Making all in src Making all in engine make: Fatal error in reader: Makefile, line 453: Badly formed macro assignment Current working directory /php-4.3.1/Sablot-0.98/src/engine *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /php-4.3.1/Sablot-0.98/src
3
1587
by: Tony Dong | last post by:
Hi there I have three comboBoxs I need the first comboBox selected and fill the second comboBox, after second comboBox selected, it will fill the last comboBox, When I use selectedIndex change event, it happens before I select second comboBox, because when I selected first one, it auto fill the second one and make the selectedindexchanged event happen, how can I disable it untial I select second comboBox? how can I do to make this one...
16
11613
by: Miguel Dias Moura | last post by:
Hello, i have 5 panels in an ASP.net / VB page. The panel 1 is visible the other 4 are NOT visible. I also have 5 images: image 1, image 2, ..., image5. When i click one of the images, image N, the panel N becomes visible and all the other invisible.
17
2312
by: stubbsie | last post by:
Hi, I have redesigned our official public government website in .net and it has taken me a few months to redo. I have been the sole designer of the website from its humble beginnning a few years ago when no one wanted to even mess with it. Since then I have been steadily maintaining it and improving it. I am about halfway done, and all of a sudden my supervisor won't let me make the website in .net. Our programmers use .net to make web...
7
2402
by: Hal Vaughan | last post by:
I have a problem with port forwarding and I have been working on it for over 2 weeks with no luck. I have found C programs that almost work and Java programs that almost work, but nothing that does what I need. I've even tried writing a port forwarder in Java and found problems that nobody seems to have the answer to in forums. I need to make it work essentially the same on both Windows and Linux. There is one program, in C, that...
19
2458
by: zzw8206262001 | last post by:
Hi,I find a way to make javescript more like c++ or pyhon There is the sample code: function Father(self) //every contructor may have "self" argument { self=self?self:this; //every class may have this statement self.hello = function() {
5
5131
by: Pete Marsh | last post by:
Wondering if anyone can recomend some sample code for dynamically loading the GD module. I have tried setting the extension dir in php.ini, and loading the GD module from there when apache is started, but it won't load. There is also the option of dynamically loading the module at run time of the script. LD() i believe is the call.
0
9879
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10921
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10540
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9727
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8099
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7249
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4776
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4336
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3359
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.