note 48702 deleted from ref.image by tularis

From: Date: Sun, 29 Jun 2008 21:10:23 +0000
Subject: note 48702 deleted from ref.image by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-140963@lists.php.net to get a copy of this message
Note Submitter: dotpointer ---- About PHP5 and imagejpeg, imagecreatefromjpeg being unknown when GD and libjpeg are installed on UNIX (Slackware). You need to be sure that you have JPG Support on the server before you use these functions. Use phpinfo() and under the gd-section, see for "JPG Support: Enabled". If you can't see any line like that there, then you're missing support. My problem was incorrect .configure-path to the libjpeg. I wrote --with-libjpeg-dir, instead of --with-jpeg-dir. Maybe old PHP4-syntax? Also specifying exactly where libjpeg is located is good: --with-jpeg-dir=/usr/lib/libjpeg.so.62

« previous php.notes (#140963) next »