|
-
Oct 27th, 2007, 04:21 PM
#1
[RESOLVED] Generating thumbnails with GD - IIS issue
I have a pre-written PHP script which makes use of GD. I'm attempting to run this in IIS, but I've figured that I'm missing the GD libraries required.
I'm assuming I'll need to edit php.ini to enable gd, but which lines am I looking for?
-
Oct 27th, 2007, 04:31 PM
#2
Re: Generating thumbnails with GD - IIS issue
Code:
extension=php_gd2.dll
if there is a semi-colon there, you should remove it.
Delete it. They just clutter threads anyway.
-
Oct 27th, 2007, 07:37 PM
#3
Re: Generating thumbnails with GD - IIS issue
Well do you have the gd libraries?
My usual boring signature: Something
-
Oct 28th, 2007, 01:41 PM
#4
Re: Generating thumbnails with GD - IIS issue
I don't. I uncommented those lines, and on a page which attempted to use those, I got
PHP Warning: PHP Startup: Unable to load dynamic library './php_gd2.dll' - The specified module could not be found. in Unknown on line 0
So I went to the GD website. Couldn't find a DLL. Doing a further search right now for this DLL.
-
Oct 28th, 2007, 01:51 PM
#5
Re: Generating thumbnails with GD - IIS issue
PHP.NET says
Since PHP 4.3 there is a bundled version of the GD lib.
Fair enough, I have PHP 5.1.4.
The configure command does mention GD:
cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"
-
Oct 28th, 2007, 02:02 PM
#6
Re: Generating thumbnails with GD - IIS issue
Is your extension_dir setting correct?
-
Oct 28th, 2007, 02:13 PM
#7
Re: Generating thumbnails with GD - IIS issue
That was it. I saw that my extensions dir was ./, I changed it to c:\php\extensions.
And I had extracted the wrong php_gd.dll. Then after much searching found an archive of unsupported releases. That didn't make much sense, but I was able to get a php_gd.dll out of it, and now I'm happily wiping my screen.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|