Re: PHP can't find image extension
- From: Erwin Moller <since_humans_read_this_I_am_spammed_too_much@xxxxxxxxxxxxxxxx>
- Date: Mon, 01 Aug 2005 18:08:19 +0200
Simon Stienen wrote:
> On 2005-08-01 17-45-16 lwoods <lwoods <larry@xxxxxxxxxx>> wrote:
>> I'm trying to do some image work. I have enabled the graphics extension
>> and the extension path in php.ini, as well as copying the dll to
>> C:\PHP...just for good measure.
>>
>> php.ini:
>>
>> extension_dir =C:\PHP\ext
>> extension=php_gd2.dll
>>
>> but...when I try to use ImageCreateFrom Jpeg in a script I get the
>> following error:
>>
>> Fatal error: Call to undefined function imagecreatefromjpeg() in
>> C:\Inetpub\wwwroot\PHP\thumbnail\thumbnail.php on line 47
>>
>> Any ideas where I should look in order to correct this?
>>
>> TIA,
>>
>> Larry Woods
>
> Try c:/php/ext/
> Btw: Are you sure, the .ini is in the appropiate directory for your HTTPd?
>
> HTH,
> Simon
Hi,
One more thing:
Some pre-configured Windows-installers are really bad.
I saw a few of them that installed PHP just fine, so it seems, untill you
want to add new extension. That just won't work.
If Simons advice (which also makes perfect sense :P) doesn't help, intall
PHP as described on their site/readme.
Regards,
Erwin Moller
.
- Follow-Ups:
- Re: PHP can't find image extension
- From: lwoods
- Re: PHP can't find image extension
- References:
- PHP can't find image extension
- From: lwoods
- Re: PHP can't find image extension
- From: Simon Stienen
- PHP can't find image extension
- Prev by Date: Re: Confusing POST behavior -- doing it twice?
- Next by Date: Re: PHP can't find image extension
- Previous by thread: Re: PHP can't find image extension
- Next by thread: Re: PHP can't find image extension
- Index(es):
Relevant Pages
|