![安装php5.5 安装php5.5](https://image.shishitao.com:8440/aHR0cHM6Ly9ia3FzaW1nLmlrYWZhbi5jb20vdXBsb2FkL2NoYXRncHQtcy5wbmc%2FIQ%3D%3D.png?!?w=700&webp=1)
安装php5.5
./configure --prefix=/usr/local/php5.5.14/ --with-apxs2=/usr/local/apache2.2.27/bin/apxs --with-mysqli=/opt/mysql/bin/mysql_config --enable-mbstring --enable-bcmath --enable-sockets --with-gd=/usr/local/gd --with-jpeg-dir=/usr/local/gdjpeg/ --with-png-dir=/usr/local/gdpng/ --with-freetype-dir=/usr/local/freetype/ --with-xpm-dir=/usr/lib64/
安装gd
/configure --prefix=/usr/local/gd --with-jpeg=/usr/local/gdjpeg/ --with-png=/usr/local/gdpng/ --with-freetype=/usr/local/freetype/ --with-xpm=/usr/lib64/
安装gd gd-png gd-jpeg gd-freetype libXpm-devel