您好,登錄后才能下訂單哦!
1 .安裝apache2.4
需要下載軟件包:
apache2.4.12.tar.gz
apr-1.52.tar.bz2
apr-util-1.5.4.tar.bz2
tar zxvf httpd-2.4.12.tar.gz tar jxf apr-1.5.2.tar.bz2 tar jxf apr-util-1.5.4.tar.bz2 mv apr-1.5.2 httpd-2.4.12/srclib/apr mv apr-util-1.5.4 httpd-2.4.12/srclib/apr-util cd http-2.4.12 ./configure --prefix=/usr/local/apache2 --with-included-apr --enable-so --enable-deflate=shared --enable-expires=shared --enable-rewrite=shared --with-pcre make make install #查看版本 /usr/local/apache/bin/httpd -v
2. 安裝php5.6
需要下的軟件:
libiconv-1.13.1.tar.gz
php-5.6.11.tar.bz2
#安裝libiconv tar zxf libiconv-1.13.1.tar.gz cd libiconv-1.13.1 ./configure --prefix=/usr/local/libiconv make && make install #安裝php tar jxf php-5.6.11.tar.bz2 cd php-5.6.11 ./configure \ --prefix=/usr/local/php5_6 \ --with-config-file-path=/usr/local/php5_6/etc \ --with-apxs2=/usr/local/apache2/bin/apxs \ --disable-fileinfo \ --with-mysql=mysqlnd \ --with-mysqli=mysqlnd \ --with-pdo-mysql=mysqlnd \ --with-iconv=/usr/local/libiconv --with-freetype-dir \ --with-jpeg-dir \ --with-png-dir \ --with-zlib \ --with-libxml-dir=/usr \ --enable-xml \ --disable-rpath \ --enable-bcmath \ --enable-shmop \ --enable-exif \ --enable-sysvsem \ --enable-inline-optimization \ --with-curl \ --enable-mbregex \ --enable-mbstring \ --with-mcrypt \ --with-gd \ --enable-gd-native-ttf \ --with-openssl \ --with-mhash \ --enable-pcntl \ --enable-sockets \ --with-xmlrpc \ --enable-ftp \ --with-gettext \ --enable-soap \ --disable-ipv6 \ --disable-debug \ --enable-opcache #加速擴(kuò)展插件 #yum install libxml2-devel openssl-devel curl-devel gd-devel libmcrypt-devel make && make install
3 . 安裝mysql
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。