473,387 Members | 1,903 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,387 software developers and data experts.

how to make php_gd2.dll working

Nert
64
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 18109
ronverdonk
4,258 Expert 4TB
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
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
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_gd2.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 Expert 2GB
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
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 Expert 2GB
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
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
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
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...
28
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? ...
1
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...
3
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...
16
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,...
17
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...
7
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...
19
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; ...
5
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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...

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.