php_gd2.dll error (Unable to initialize module)

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
wesleyh2005
-


Joined: 14 Aug 2005
Posts: 6

PostPosted: Mon Aug 15, 2005 1:46 am    Post subject: php_gd2.dll error (Unable to initialize module) Reply with quote

today i went to a site to look at some scripts
i downloaded a script wich needs to create images (make a watermark on it)
but i saw i needed GD2
so i went looking around for it but i read php5 allready has it but only needs to be enabled in php.ini
i removed the
Code:
;
in front of
Code:
;extension=php_gd2.dll
and tested the script on my server

but.. i get this error :s

(if you cant read the image in the new window then press on the image so it gets actual size)

does maybe some one have a solution for it... ??

grtz wesley

ps. I have php5 en i use Abyss Web Server
Back to top View user's profile Send private message
MonkeyNation
-


Joined: 05 Feb 2005
Posts: 921
Location: Cardiff

PostPosted: Mon Aug 15, 2005 4:10 am    Post subject: Re: php_gd2.dll error (Unable to initialize module) Reply with quote

wesleyh2005 wrote:
today i went to a site to look at some scripts
i downloaded a script wich needs to create images (make a watermark on it)
but i saw i needed GD2
so i went looking around for it but i read php5 allready has it but only needs to be enabled in php.ini
i removed the
Code:
;
in front of
Code:
;extension=php_gd2.dll
and tested the script on my server

but.. i get this error :s

(if you cant read the image in the new window then press on the image so it gets actual size)

does maybe some one have a solution for it... ??

grtz wesley

ps. I have php5 en i use Abyss Web Server


Looks like you dont have the latest version of the gd2 extension.
Re-download and unzip the Collection of PECL modules for PHP 5.0.4 and unzip its contents to your php extension directory. If you still get a similar error then upgrade to the latest version of the php inturpretter.
_________________
Back to top View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Mon Aug 15, 2005 7:17 am    Post subject: Reply with quote

Chech if the path to all the extentions in php.ini is okay. If it is, you're probably missing gd2.dll.
Back to top View user's profile Send private message
wesleyh2005
-


Joined: 14 Aug 2005
Posts: 6

PostPosted: Mon Aug 15, 2005 7:41 am    Post subject: Re: php_gd2.dll error (Unable to initialize module) Reply with quote

MonkeyNation wrote:

Looks like you dont have the latest version of the gd2 extension.
Re-download and unzip the Collection of PECL modules for PHP 5.0.4 and unzip its contents to your php extension directory. If you still get a similar error then upgrade to the latest version of the php inturpretter.

cmxflash wrote:

Chech if the path to all the extentions in php.ini is okay. If it is, you're probably missing gd2.dll.


ok i downloaded PECL modules and putted them in extensions dir, but still no change. so i downloaded the upgrade and putted it in the same directory, but now it still doesnt, the only thing changed is that i dont get that error anymore
my php.gd2.dll is in
Code:
c:/php/extensions
and the extension directory in php.ini is the same
i removed the ; in front of the extension too

[/url]
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Aug 15, 2005 2:17 pm    Post subject: Re: php_gd2.dll error (Unable to initialize module) Reply with quote

wesleyh2005,

You're probably using a version of php_gd2.dll that is not compatible with your PHP.exe version.

Have you tried the preconfigured PHP5 package we've made. It is in http://www.aprelium.com/abyssws/php5win.html and comes with all the extensions and GD already enabled.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
wesleyh2005
-


Joined: 14 Aug 2005
Posts: 6

PostPosted: Mon Aug 15, 2005 4:43 pm    Post subject: Re: php_gd2.dll error (Unable to initialize module) Reply with quote

aprelium wrote:
wesleyh2005,

You're probably using a version of php_gd2.dll that is not compatible with your PHP.exe version.

Have you tried the preconfigured PHP5 package we've made. It is in http://www.aprelium.com/abyssws/php5win.html and comes with all the extensions and GD already enabled.


Tnxx alot! its working now

1 more question, if i want another extension to work i dont have to download things anymore do i ?? i only have to change the php.ini file right ?

again tnx alot
grtz wesley
Back to top View user's profile Send private message
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Mon Aug 15, 2005 5:17 pm    Post subject: Re: php_gd2.dll error (Unable to initialize module) Reply with quote

wesleyh2005 wrote:

1 more question, if i want another extension to work i dont have to download things anymore do i ?? i only have to change the php.ini file right ?
grtz wesley


Yes, that's the way you do it.
Back to top View user's profile Send private message
wesleyh2005
-


Joined: 14 Aug 2005
Posts: 6

PostPosted: Mon Aug 15, 2005 5:27 pm    Post subject: Reply with quote

ok ;)
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Aug 16, 2005 4:33 pm    Post subject: Re: php_gd2.dll error (Unable to initialize module) Reply with quote

[quote="wesleyh2005]
1 more question, if i want another extension to work i dont have to download things anymore do i ?? i only have to change the php.ini file right ?
[/quote]
Yes. You'll have only to update php.ini as explained in the bottom of http://www.aprelium.com/abyssws/php5win.html .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group