Re: JPG Not supported on my server, but GDlib enabled?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



afan@xxxxxxxx wrote:
Check out...
http://www.php.net/gd
-B
Already did, but didn't find there any answer...
:(

In the Installation section...
To enable support for jpeg-6b add --with-jpeg-dir=DIR.
And read above on that page, for what may/may not be needed to install this library on the machine, although it is *probably* already there.


afan@xxxxxxxx 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




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux