Re: JPG Not supported on my server, but GDlib enabled?
| From: | Robert Cummings | Date: | Thu, 22 Feb 2007 14:09:16 +0000 |
| Subject: | Re: JPG Not supported on my server, but GDlib enabled? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-249233@lists.php.net to get a copy of this message | ||
On Thu, 2007-02-22 at 15:02 +0100, afan@afan.net wrote:
> > Check out...
> > http://www.php.net/gd
> > -B
> Already did, but didn't find there any answer...
> :(
>
>
>
> > afan@afan.net wrote:
> >> after we (company I work for) mmoved to new hosting company (dedicated
> >> server), I requested from them to instal php5 with GDlib to be able play
> >> with images.
> >> they did.
> >> and then yesterday (2 months after we moved) I wasn't able to use
> >> ImageCreateFromJpeg() function:
> >> "Fatal error: Call to undefined function ImageCreateFromJpeg() in
> >> /srv/www/mydomain.com/image_resize.php on line 11"
> >>
> >> Then, I was searching a little bit and found this from gd_info()
> >> Array
> >> (
> >> [GD Version] => bundled (2.0.28 compatible)
> >> [FreeType Support] =>
> >> [T1Lib Support] =>
> >> [GIF Read Support] => 1
> >> [GIF Create Support] => 1
> >> [JPG Support] =>
It says right above... "[JPG Support] => ". In other words, there is
none. Whoever compiled PHP (or the gd extension) didn't compile in
support for JPG. You need to complain to your hosting company.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'