+ Reply to Thread
Results 1 to 1 of 1
Thread: Compiling PHP with JPEG support
-
Administrator
- Join Date
- Mar 2010
- Posts
- 76
Compiling PHP with JPEG support
Do you think enable jpeg on php?
locate jpeg
If you have already compiled the PHP source without JPEG support and then try to compile it again but with JPEG support, the new setting will get ignored.
Firstly remove the previous build by typing:
make clean
Then run configure again with the following options:
--with-jpeg-dir=
For example if your JPEG library is installed in:
/usr/lib/libjpeg.so
Then you should use:
--with-jpeg-dir=/usr/lib
for eg:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-bcmath --with-curl --with-curlwrappers --enable-ftp --with-gd --with-jpeg --with-jpeg-dir=/usr/lib --enable-mbstring --with-mcrypt --with-mhash --with-mysql --with-readline --with-zlib
To check if JPEG support is enabled in your new build use PHP's info option.


LinkBack URL
About LinkBacks



Reply With Quote