编译Apache
./configure \
--prefix=/opt/webservice/httpd-2.2.27 \
--enable-so \
--enable-proxy \
--enable-cgi \
--enable-mime-magic \
--enable-expires \
--enable-info \
--enable-rewrite
make
make install
添加apache运行用户
useradd -s /sbin/nologin apache
针对/opt/webservice/httpd-2.2.27/conf/httpd.conf做以下修改
+LoadModule php5_module modules/libphp5.so
+AddType application/x-httpd-php .php .phtml .phpm .do
+AddType application/x-httpd-php-source .ph
- DirectoryIndex index.html
+ DirectoryIndex index.html index.php
+
+User apache
+Group apache
+
+Include conf/conf.d/*.conf
编译Mysql
wget http://downloads.**my*sql.com/archives/mysql-5.1/mysql-5.1.70.tar.gz
tar -xzvf mysql-5.1.70.tar.gz
./configure \
--prefix=/opt/webservice/mysql-5.1.70 \
--with-charset=utf8 \
--enable-thread-safe-client
make
make install
安装OpenSSL
wget --no-check-certificate 'https://www.*ope*nss*l.org/source/openssl-0.9.8zc.tar.gz'
./config --prefix=/opt/webservice/openssl-0.9.8z
make
make install
./config shared --prefix=/opt/webservice/openssl-0.9.8z
make clean
make install
编译 PHP
wget http://cn2.*p*h*p.net/get/php-5.5.20.tar.bz2/from/this/mirror
tar -xjvf php-5.5.20.tar.bz2
./configure --prefix=/opt/webservice/php-5.5.20 \
--with-apxs2=/opt/webservice/httpd-2.2.27/bin/apxs \
--with-openssl=/opt/webservice/openssl-0.9.8z \
--with-config-file-path=/opt/webservice/php-5.5.20/etc/ \
--with-mysql=/opt/webservice/mysql-5.1.70 \
--with-curl \
--with- \
--enable-mbstring \
--enable-pdo
make
make install
cp ./php.ini-production /opt/webservice/php-5.5.20/etc/
原神祈愿模拟器最新版
原神祈愿模拟器手机版是一款完整汉化的趣味原神抽卡模拟小游戏,
宝宝森林美食完整版
宝宝森林美食游戏最新版是一款十分有趣的休闲益智游戏,帮助宝宝
g沙盒仇恨官方英文版(gorebox)
G沙盒仇恨英文原版是一款最近非常火热的沙盒模拟类游戏,在这里
迷你世界测试服最新版2024
迷你世界测试服2021最新版,即迷你世界的先遣服版本,用户能
闪耀暖暖最新版2024
闪耀暖暖手游这是非常好玩的换装手游,游戏内容丰富有趣,游戏环