CentOS release 6.5/6 (Final) is OK! preparationphp
yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel ssse2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers gettext-devel libXpm-devel libtool cmake
apache2.2.22mysql
# tar -zxvf httpd-2.2.22.tar.gz # cd httpd-2.2.22 # ./configure --prefix=/system/apache2 -enable-dav --enable-mods-shared=all --enable-proxy --enable-proxy-http --enable-so --enable-ssl --enable-rewrite # make && make install
php-5.4.39c++
# ./configure --prefix=/usr/local/php --with-apxs2=/system/apache2/bin/apxs --enable-shared --with-openssl --enable-mbstring --with-mysql=/usr/local/mysql --enable-sockets --enable-mysqlnd --enable-zip --with-zlib-dir --with-pdo-mysql --with-jpeg-dir --with-freetype-dir --with-curl --with-gd # make && make install #cp php.ini-development /usr/local/php/lib/php.ini
svnsql
# yum install expat-devel # tar -zxvf neon-0.30.1.tar.gz # tar -zxvf subversion-1.6.12.tar.gz # tar -zxvf subversion-deps-1.6.12.tar.gz # cd subversion-1.6.12 # rm -rf apr # rm -rf neon # rm -rf apr-util # mv ../neon-0.30.1 ./neon # ./configure --prefix=/usr/local/svn --with-apxs=/system/apache2/bin/apxs --with-apr=/system/apache2/bin/apr-1-config --with-apr-util=/system/apache2/bin/apu-1-config --with-ssl --with-zlib=/usr/local/lib --enable-maintainer-mode # make # make install
可能遇到的問題和解決方案apache