Install GD on Windows [message #174318] |
Sat, 04 June 2011 12:16 |
jeff
Messages: 8 Registered: May 2005 Location: Toronto
Karma: 0
|
Junior Member |
|
|
I have a Windows webserver IIS (not mine) that I was trying to use the
php function: imagecreatefromjpeg. As it turned out, GD is not installed.
What I would like to do is make this as easy as possible for the guys
that have to do the "fix". Windows IT guys don't like to do this. A
rather large website is running on this, so I don't want trouble.
I see some possibilities.
1) I can just have them install GD.
But, would PHP pick up that, or would they need to do just what? Update
or recompile?
2) Can you compile in GD during a php update?
Hints, suggestions or pointers, before I start would be appreciated.
The system looks like this:
Windows NT RACWEBSERV 5.2 build 3790
Build Date Sep 16 2009 19:39:11
Configure Command cscript /nologo configure.js
"--enable-snapshot-build" "--enable-debug-pack"
"--with-snapshot-template=d:\php-sdk\snap_5_2\vc6\x86\template"
"--with-php-build=d:\php-sdk\snap_5_2\vc6\x86\php_build"
"--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared"
"--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared"
|
|
|
Re: Install GD on Windows [message #174348 is a reply to message #174318] |
Mon, 06 June 2011 15:44 |
j80k-vpfc
Messages: 10 Registered: September 2013
Karma: 0
|
Junior Member |
|
|
In article <isd7o9$56h$1(at)news(dot)albasani(dot)net>, mung_me(at)att(dot)net (jeff)
wrote:
> *From:* jeff <mung_me(at)att(dot)net>
> *Date:* Sat, 04 Jun 2011 08:16:22 -0400
>
> I have a Windows webserver IIS (not mine) that I was trying to
> use the php function: imagecreatefromjpeg. As it turned out, GD is
> not installed.
>
> What I would like to do is make this as easy as possible for the
> guys that have to do the "fix". Windows IT guys don't like to do
> this. A rather large website is running on this, so I don't want
> trouble.
>
> I see some possibilities.
>
> 1) I can just have them install GD.
> But, would PHP pick up that, or would they need to do just what?
> Update or recompile?
>
> 2) Can you compile in GD during a php update?
>
> Hints, suggestions or pointers, before I start would be appreciated.
>
> The system looks like this:
>
> Windows NT RACWEBSERV 5.2 build 3790
> Build Date Sep 16 2009 19:39:11
> Configure Command cscript /nologo configure.js
> "--enable-snapshot-build" "--enable-debug-pack"
> "--with-snapshot-template=d:\php-sdk\snap_5_2\vc6\x86\template"
> "--with-php-build=d:\php-sdk\snap_5_2\vc6\x86\php_build"
> "--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared"
> "--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared"
>
>
It's probably commented out in the php.ini
Look about 1/2 way down under Dynamic Extensions
|
|
|
Re: Install GD on Windows [message #174395 is a reply to message #174348] |
Thu, 09 June 2011 23:27 |
jeff
Messages: 8 Registered: May 2005 Location: Toronto
Karma: 0
|
Junior Member |
|
|
On 6/6/2011 11:44 AM, Steve wrote:
> In article<isd7o9$56h$1(at)news(dot)albasani(dot)net>, mung_me(at)att(dot)net (jeff)
> wrote:
>
>> *From:* jeff<mung_me(at)att(dot)net>
>> *Date:* Sat, 04 Jun 2011 08:16:22 -0400
>>
>> I have a Windows webserver IIS (not mine) that I was trying to
>> use the php function: imagecreatefromjpeg. As it turned out, GD is
>> not installed.
>>
>> What I would like to do is make this as easy as possible for the
>> guys that have to do the "fix". Windows IT guys don't like to do
>> this. A rather large website is running on this, so I don't want
>> trouble.
>>
>> I see some possibilities.
>>
>> 1) I can just have them install GD.
>> But, would PHP pick up that, or would they need to do just what?
>> Update or recompile?
>>
>> 2) Can you compile in GD during a php update?
>>
>> Hints, suggestions or pointers, before I start would be appreciated.
>>
>> The system looks like this:
>>
>> Windows NT RACWEBSERV 5.2 build 3790
>> Build Date Sep 16 2009 19:39:11
>> Configure Command cscript /nologo configure.js
>> "--enable-snapshot-build" "--enable-debug-pack"
>> "--with-snapshot-template=d:\php-sdk\snap_5_2\vc6\x86\template"
>> "--with-php-build=d:\php-sdk\snap_5_2\vc6\x86\php_build"
>> "--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared"
>> "--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared"
>>
>>
> It's probably commented out in the php.ini
>
> Look about 1/2 way down under Dynamic Extensions
Thanks, it was commented out and the DLL was already on the server as
php_gd2.dll. Fortunately php dlls are better named than what MS throws
in system32. :-)
Back to work...
Jeff
|
|
|
|