Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to compile apache/mysql/php
#11

ok i've just recompiled apache/mysql/php

 

and while recompiling php i wanted to add GD support

 

to add GD support for png and jpeg i used the following configure switches for php, making sure to first

 



Code:
yum install libpng and libjpeg




 

don't forget to make clean as below (it resolved my problem from multiple compiles)

 



Code:
make clean

./configure \--with-apxs=/usr/local/apache/bin/apxs \--with-mysql=/usr/local/mysql \--with-gd \--with-jpeg-dir \--with-png-dir

make

make install




 

the configuration flags \--with-gd \--with-jpeg-dir=/usr \--with-png-dir=/usr add our GD support for Zenphoto (image gallery software, example here)

Reply
#12

Quote:ok i've just recompiled apache/mysql/php 

and while recompiling php i wanted to add GD support

 

to add GD support for png and jpeg i used the following configure switches for php, making sure to first

 



Code:
yum install libpng and libjpeg

<div>


 

don't forget to make clean as below (it resolved my problem from multiple compiles)

 



Code:
make clean

./configure \--with-apxs=/usr/local/apache/bin/apxs \--with-mysql=/usr/local/mysql \--with-gd \--with-jpeg-dir \--with-png-dir

make

make install




 

the configuration flags \--with-gd \--with-jpeg-dir=/usr \--with-png-dir=/usr add our GD support for Zenphoto (image gallery software, example here)

</div>
good

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)