Re: PHP can't find image extension



I got it to work. I did two things...which is not too cool...but I copied
the php.ini to my WINDOW directory AND it restarted IIS. I have a feeling
that I needed to restart IIS to get php to reread the php.ini file.

??????????????????

TIA,

Larry

"lwoods" <larry@xxxxxxxxxx> wrote in message
news:MSrHe.54073$4o.8468@xxxxxxxxxxxxx
> I changed the "C:\PHP\ext" to "C:\PHP\ext\" ...no change. Also changed
the
> "\" to "/"; no change. I have my php.ini in C:\PHP and I "assume" that it
> is being found because I have a script that executes the "phpinfo()"
> function and that seems to display O.K.
>
> Whoa!!!! I just ran the script with the phpinfo() and it's showing
> "C:\php5" as being the directory for the extensions! I have added
"C:\PHP"
> to my PATH environmental variable, and have added an env. variable named
> PHPRC=C:\PHP\ext . php.exe in in the directory C:\PHP so obviously they
are
> finding it. So, what do I have to do to get them to find my php.ini.
BTW,
> to my knowledge there are NO other php.ini's in this system (including the
> WINDOWS directory).
>
> Larry
>
>
> How can I test to see if
> "Simon Stienen" <news@xxxxxxxxxxxxxxxxxx> wrote in message
> news:1mjlzvuk5nlxd$.dlg@xxxxxxxxxxxxxxxxxxxxx
> > 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

  • Re: syntax differences and performance
    ... And the clouds parted, and Adamiec, Larry said... ... Using this and a simple script, I ran some tests and it ... One of the heavier technical perldocs may have the answer, ... in mind that unless your script does several thousand of these assignments ...
    (perl.beginners)
  • Re: Activate Word without starting new Word instance
    ... "Larry" wrote in message ... > But if there's a .vbs script to do this (bring focus to the Word ... > Gary S. Terhune wrote: ...
    (microsoft.public.word.vba.general)
  • RE: Redirect stdout, stderr to file and stdout
    ... But the script hangs and wont exit the "tee" command. ... I ran the script using "strace" and it sits there like this. ... Redirect stdout, ... Larry> need to do now is not only have is display information to STDERR ...
    (perl.beginners)
  • Re: OT Vullys New Adventure - Thread 2 - continued - Trimobian context (And Captain Jack
    ... turned around and there was Tia Dalma and Larry standing behind me. ... out of the bottle and Babylonia was, well, being Babylonia. ...
    (rec.arts.disney.parks)
  • Re: Candy Domino problem
    ... does not work.Is this a typical fault with this machine? ... > TIA for any help. ... wash but not spin if the lid interlock switch is bad or not adjusted right. ...
    (sci.electronics.repair)

Loading