tar zxvf pcre-8.41.tar.gz cd pcre-8.41 ./configure --prefix=/opt/local/pcre-8.41 make && sudo make install
wget http://mirrors.hust.edu.cn/apache//apr/apr-1.6.2.tar.gz tar zxvf apr-1.6.2.tar.gz cd apr-1.6.2 # /bin/rm: cannot remove `libtoolT': No such file or directory :/\$RM "\$cfgfile" 注释掉 :/RM=\'$RM 改为 RM='$RM -f' make && sudo make install
cd apr-util-1.6.0 ./configure --prefix=/opt/local/apr-util-1.6.0 --with-apr=/opt/local/apr-1.6.2 --with-expat=/opt/local/expat make && sudo make install
rpm -qa | grep apr ; yum erase apr -y ./configure --prefix=/opt/local/apache2 --enable-module=shared --with-pcre=/opt/local/pcre-8.41 --with-apr-util=/opt/local/apr-util-1.6.0 --with-apr=/opt/local/apr-1.6.2 #ServerName localhost:80 取消注释
tar zxf php-7.1.8.tar.gz && cd php-7.1.8 ./configure --prefix=/opt/local/php-7.1.8 --with-apxs2=/opt/local/apache2/bin/apxs --with-mysqli --with-pdo-mysql --enable-mbstring # 通过 --with-apxs2选项,编译后会在 /opt/local/apache2/modules/ 生成 libphp7.so文件 make && sudo make install
wget https://files.phpmyadmin.net/phpMyAdmin/4.7.4/phpMyAdmin-4.7.4-all-languages.tar.gz tar zxf phpMyAdmin-4.7.4-all-languages.tar.gz ; mv phpMyAdmin-4.7.4-all-languages phpMyAdmin
# apache2 文档默认位置是 /opt/local/apache2/htdocs/ , 将phpMyAdmin复制到htdocs下,省略了httpd.conf的配置,直接在浏览器访问 phpMyAdmin即可 sudo cp -rf phpMyAdmin /opt/local/apache2/htdocs/ # 配置 phpMyAdmin的数据库连接 sudo cp /opt/local/apache2/htdocs/phpMyAdmin/config.sample.inc.php /opt/local/apache2/htdocs/phpMyAdmin/config.inc.php sudo vim /opt/local/apache2/htdocs/phpMyAdmin/config.inc.php
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有