标签:php-5.3.27安装
在前面 我们完成 apache和mysql 安装
现在我们要让apache支持 php解析功能......
环境检查:
yum install zlib libxml libjpeg freetype libpng gd curl libiconv zlib-devel libxml2-devel libjpeg-devel freetype-devel libpng-devel gd-devel curl-devel -y
./configure
--prefix=/application/php5.3.27
--with-apxs2=/application/apache/bin/apxs
--with-mysql=/application/mysql
--with-xmlrpc
--with-openssl
--with-zlib
--with-freetype-dir
--with-gd
--with-jpeg-dir
--with-png-dir
--with-iconv=/usr/local/libiconv
--enable-short-tags
--enable-socket
--enable-zend-multibyte
--enable-soap
--enable-mbstring
--enable-static
--enable-gd-native-ttf
--with-curl
--with-xsl
--enable-ftp
--with-libxml-dir
AddType application/x-httpd-php .php
标签:php-5.3.27安装
原文地址:http://771541213.blog.51cto.com/10810853/1774311