View previous topic :: View next topic |
Author |
Message |
wesleyh2005 -
Joined: 14 Aug 2005 Posts: 6
|
Posted: Mon Aug 15, 2005 1:46 am Post subject: php_gd2.dll error (Unable to initialize module) |
|
|
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 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 |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Mon Aug 15, 2005 4:10 am Post subject: Re: php_gd2.dll error (Unable to initialize module) |
|
|
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 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 |
 |
 |
cmxflash -
Joined: 11 Dec 2004 Posts: 872
|
Posted: Mon Aug 15, 2005 7:17 am Post subject: |
|
|
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 |
|
 |
wesleyh2005 -
Joined: 14 Aug 2005 Posts: 6
|
Posted: Mon Aug 15, 2005 7:41 am Post subject: Re: php_gd2.dll error (Unable to initialize module) |
|
|
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 and the extension directory in php.ini is the same
i removed the ; in front of the extension too
[/url] |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Aug 15, 2005 2:17 pm Post subject: Re: php_gd2.dll error (Unable to initialize module) |
|
|
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 |
|
 |
wesleyh2005 -
Joined: 14 Aug 2005 Posts: 6
|
Posted: Mon Aug 15, 2005 4:43 pm Post subject: Re: php_gd2.dll error (Unable to initialize module) |
|
|
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 |
|
 |
cmxflash -
Joined: 11 Dec 2004 Posts: 872
|
Posted: Mon Aug 15, 2005 5:17 pm Post subject: Re: php_gd2.dll error (Unable to initialize module) |
|
|
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 |
|
 |
wesleyh2005 -
Joined: 14 Aug 2005 Posts: 6
|
Posted: Mon Aug 15, 2005 5:27 pm Post subject: |
|
|
ok ;) |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Aug 16, 2005 4:33 pm Post subject: Re: php_gd2.dll error (Unable to initialize module) |
|
|
[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 |
|
 |
|