Re: JPG Not supported on my server, but GDlib enabled?
| From: | afan at afan dot net | Date: | Thu, 22 Feb 2007 14:02:25 +0000 |
| Subject: | Re: JPG Not supported on my server, but GDlib enabled? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-249229@lists.php.net to get a copy of this message | ||
> 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] =>
>> [PNG Support] => 1
>> [WBMP Support] => 1
>> [XPM Support] =>
>> [XBM Support] => 1
>> [JIS-mapped Japanese Font Support] =>
>> )
>>
>> Looks like they didn't do correctly because JPG is not supported?
>>
>> In phpinfo() found this:
>> Configure Command './configure' '--with-apxs2=/etc/apache2/bin/apxs'
>> '--with-mysql' '--with-gd' '--with-zlib-dir=/usr/local/lib'
>>
>> and this:
>> gd
>> GD Support enabled
>> GD Version bundled (2.0.28 compatible)
>> GIF Read Support enabled
>> GIF Create Support enabled
>> PNG Support enabled
>> WBMP Support enabled
>> XBM Support enabled
>>
>> Now, when I talk to them they said we have to pay $250 to be fixed?!?
>>
>> I have root access and have some php/mysql/apache installation
>> experience
>> and want to fix myself - can somebody point me to the right direction?
>>
>> Thanks.
>>
>> -afan
>>
>>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>