User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 392,324 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,783 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 2875 | Replies: 6
Reply
Join Date: Sep 2005
Posts: 51
Reputation: tristan17 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
tristan17 tristan17 is offline Offline
Junior Poster in Training

need help in installing gd library with php 4.3.10

  #1  
Dec 14th, 2005
hi,

I need help in installing gd library with php4.3.10 on windows platform.

I have uncommented the line "extension=php_gd2.dll" and set the directory " extension_dir = "c:\php\extensions\" " where i have installed php in the php.ini file in c:windows. But it still doesn't work. Wondering where i had gone wrong.

Any advice will be greatly appreciated.

Rgds,
tristan
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2005
Posts: 66
Reputation: guideseeq is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
guideseeq guideseeq is offline Offline
Junior Poster in Training

Re: need help in installing gd library with php 4.3.10

  #2  
Dec 14th, 2005
Check extension_dir and GD dll in it. Server restart is required. You should see GD module listed by echo phpinfo();
_________________________________
`~@#\^%&*/\.<.\/-|+|_!:;..=?>
Nonprofilt public funds
Reply With Quote  
Join Date: Sep 2005
Posts: 51
Reputation: tristan17 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
tristan17 tristan17 is offline Offline
Junior Poster in Training

Re: need help in installing gd library with php 4.3.10

  #3  
Dec 14th, 2005
Originally Posted by guideseeq
Check extension_dir and GD dll in it. Server restart is required. You should see GD module listed by echo phpinfo();

yes, i have checked the extension_dir and it has a php_gd2.dll in it, i have also restarted the server, but it still does not have the gd library. my info.php did not list the gd module.

rgds,
tristan
Reply With Quote  
Join Date: Nov 2005
Posts: 66
Reputation: guideseeq is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
guideseeq guideseeq is offline Offline
Junior Poster in Training

Re: need help in installing gd library with php 4.3.10

  #4  
Dec 14th, 2005
What can I say? All the time, it works easily for me. They say PHP version atleast 4.3; and you're using php4.3.10

Last small thing, I may suggest, please check if you're able to alter other settings in php.ini (check it vs phpinfo()).

The clue should be in php.ini. It is scarce possibility, if that dll is corrupted. My inspiration to encounter errors is always simple: Machine never errors! Hence, humans should correct their errors. Because we're only ones to error.

I use Apache, and it warns (while re/starting), if it misses any dll or module to load. IIS shows no warning.

Hope, you get with GD
_________________________________
`~@#\^%&*/\.<.\/-|+|_!:;..=?>
Nonprofilt public funds
Reply With Quote  
Join Date: Sep 2005
Posts: 51
Reputation: tristan17 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
tristan17 tristan17 is offline Offline
Junior Poster in Training

Re: need help in installing gd library with php 4.3.10

  #5  
Dec 14th, 2005
Originally Posted by guideseeq
What can I say? All the time, it works easily for me. They say PHP version atleast 4.3; and you're using php4.3.10

Last small thing, I may suggest, please check if you're able to alter other settings in php.ini (check it vs phpinfo()).

The clue should be in php.ini. It is scarce possibility, if that dll is corrupted. My inspiration to encounter errors is always simple: Machine never errors! Hence, humans should correct their errors. Because we're only ones to error.

I use Apache, and it warns (while re/starting), if it misses any dll or module to load. IIS shows no warning.

Hope, you get with GD

hi,

it seems like i can't alter other settings in php.ini

tried to change "enable_dl = On" in php.ini to "enable_dl=Off" , restart Apache, but phpinfo still shows that "enable_dl = On"

wat could be the problem that i could not alter php.ini settings?

any help or advice?

thanks,
tristan
Reply With Quote  
Join Date: Nov 2005
Posts: 66
Reputation: guideseeq is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
guideseeq guideseeq is offline Offline
Junior Poster in Training

Re: need help in installing gd library with php 4.3.10

  #6  
Dec 15th, 2005
Observe every possibility of error ..
Apache NOT warns; while restarting that it can't load GD dll ..!
Is it mean, your PHP is working by IIS?
phpinfo page shows Apache or IIS?
phpi.ini is I hope in Windows OS directory. Some dll perhaps php4ts.dll (I'm not remembering exactly) is required to be copied in Apache2 bin directory. I hope you'll soon catch the error ..
_________________________________
`~@#\^%&*/\.<.\/-|+|_!:;..=?>
Nonprofilt public funds
Reply With Quote  
Join Date: Sep 2005
Posts: 51
Reputation: tristan17 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
tristan17 tristan17 is offline Offline
Junior Poster in Training

Re: need help in installing gd library with php 4.3.10

  #7  
Dec 19th, 2005
Hi,

I have successfully installed gd a few days ago, well i went thru thr process of re-installing apache, php and ,mysql again..but this time, i upgraded php to 4.3.4.

Anyway, thanks for your help all these while!

Rgds,
Tristan
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb PHP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 10:59 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC