[Ilugc] How To enable JPEG in RHEL !

vasudevan rk guitarvasu at gmail.com
Wed Oct 25 19:11:34 IST 2006


Hi All.

   I'm using RHEL-3 system in that i installed LAMP(apache-1.3.37,
mysql-4.1.18,php-4.1.30). i enabled JPEG in
[root at vasu php-4.4.2]# pwd
/usr/local/php-4.4.2
[root at vasu php-4.4.2]#./configure --with-apxs=/usr/local/apache/bin/apxs
--prefix=/usr/local --with-xml --enable-bcmath --enable-calendar --with-curl
--enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr/local
--with-xpm-dir=/usr/X11R6 --enable-png --enable-jpeg --with-ttf
--enable-gd-native-ttf --enable-magic-quotes --with-mysqli --with-mysql=/usr
--enable-discard-path --with-pear --enable-sockets --enable-track-vars
--with-zlib
[root at vasu php-4.4.2]# make
[root at vasu php-4.4.2]# make install
[root at vasu php-4.4.2]# /usr/local/apache2/bin/apachectl restart
[root at vasu php-4.4.2]#
and i point the browser to see the JPEG is enabled, like
http://vasu.guitarvasu.com/phpinfo.php . it was not enabled in 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

Suggest me how to ENABLE JPEG in the above mentioned LAMP versions & tell me
is there any compatibility with the version else JPEG will support in
php-5.X.X ?

Regards
vasu


More information about the ilugc mailing list