Monthly Archives: March 2006


Compile PHP 5.1 with JPEG support on Debian

Ok, here’s my configure command: ./configure –with-apxs2=/path/to/httpd/bin/apxs –with-mysql=/path/to/mysql –with-mysql-sock=/tmp/mysql.sock –prefix=/path/to/httpd/php –with-config-file-path=/path/to/httpd/php –enable-force-cgi-redirect –disable-cgi –with-zlib –with-gettext –with-gdbm –with-gd –with-png –with-png-dir=/usr/lib –with-jpeg –with-jpeg-dir=/usr/lib –with-pdo-mysql –with-mysqli I ran into errors trying to run the function imagecreatefromjpeg and imagesx and imagesy. And the system could not find the jpeg libs. On Debian Sarge, you […]