Re: PHP can't find image extension



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
--
Simon Stienen <http://slashlife.org/>
"What you do in this world is a matter of no consequence,
The question is, what can you make people believe that you have done."
/Sherlock Holmes in A Study in Scarlet by Sir Arthur Conan Doyle/
.



Relevant Pages

  • PHP cant find image extension
    ... I have enabled the graphics extension and ... as well as copying the dll to C:\PHP...just ... Fatal error: Call to undefined function imagecreatefromjpegin ...
    (comp.lang.php)
  • Re: One more strange thing happens....
    ... Which section do you put the DLL record in common.bib? ... so that MAKEIMG will work but booting failed. ... makeimg: FATAL ERROR: Command returned non-zero exit code 1. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: PlatformBuilder5 error after QFE installed
    ... GuruCE Ltd. ... Microsoft Embedded Partner ... Copying fulllibc.* ... NMAKE: fatal error U1073: don't know how to make 'tbtcore' ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Why is a VS2005 project looking for mfc71.lib?
    ... If you are including a DLL then that DLL/project may be including the older ... LINK: fatal error LNK1104: cannot open file 'mfc71.lib' ... of MFC code. ...
    (microsoft.public.vc.mfc)
  • Re: Question about loading a DLL
    ... Newsgroups: comp.lang.tcl ... Question about loading a DLL ... files, but when I build the solution, i got "fatal error C1083: ...
    (comp.lang.tcl)