Podpora JPEG v PHP

Lukas Barton look_as na cnawr.cz
Čtvrtek Květen 16 07:49:27 CEST 2002


Zdravim,
    docela dlouho uz se trapim s rozchozenim podpory JPGu v PHP, uz mam za
sebou nespocetne prekladu a porad nic :-(


    PHP mi vraci neco takovedleho:

gd-jpeg: JPEG library reports unrecoverable error: JPEG parameter struct
mismatch: library thinks size is 464, caller expects 428
X-Powered-By: PHP/4.2.1
Content-type: text/html; charset=iso-8859-1

<br />
<b>Warning</b>:  imagecreatefromjpeg: '/home/shop/test_img/test.jpeg' is not
a valid JPEG file in <b>/home/shop/test_img/ikona_upload.php</b> on line
<b>4</b><br />


    Prelozil jsem si vsechny knihovny (libjpeg, libgd), zkonfiguroval php -









./configure  --with-gd=/root/install/gd-1.8.4 --with-jpeg-dir=/root/install/
jpeg-6b --with-openssl  --with-gmp --with-curl --enable-gd-imagestrttf --wit
h-zlib=/usr/local --enable-track-vars


    A stale bez vylskedu :(

    Pres apache to vraci:

Warning: imagecreatefromjpeg: '/home/shop/test_img/test.jpeg' is not a valid
JPEG file in /home/shop/test_img/ikona_upload.php on line 4
chyba

    Budu vdecny za jakoukoliv radu,

        Lukas




Další informace o konferenci Talk