随笔分类 -  服务器环境

服务器环境安装、设置、问题集锦
摘要:首先注释掉 DocumentRoot /var/www/html 然后添加如下代码至文件底部: NameVirtualHost 192.168.0.3 <virtualhost 192.168.0.3> ServerAdmin admin@example.com DocumentRoot /var/ 阅读全文
posted @ 2016-12-27 11:43 BaronYan 阅读(162) 评论(0) 推荐(0) 编辑
摘要:1.apache 在如下页面下载apache的for Linux 的源码包 http://www.apache.org/dist/httpd/; 存至/home/xx目录,xx是自建文件夹,我建了一个wj的文件夹。 命令列表: cd /home/wj tar -zxvf httpd-2.0.54.t 阅读全文
posted @ 2016-12-26 16:55 BaronYan 阅读(6685) 评论(0) 推荐(0) 编辑
摘要:Mcrypt扩展是 mcrypt 库的接口,mcrypt 库提供了对多种块算法的支持。 安装mcrypt之前请确认已经安装yum install gcc php-devel 执行命令:yum update 更行系统 执行命令: yum install php-mcrypt 安装mcrypt扩展包 重 阅读全文
posted @ 2016-12-23 22:13 BaronYan 阅读(212) 评论(0) 推荐(0) 编辑
摘要:解决办法: yum install php-devel 解决办法: yum install php-devel yum install php-devel 阅读全文
posted @ 2016-12-23 22:07 BaronYan 阅读(617) 评论(0) 推荐(0) 编辑
摘要:安装前准备 开始安装 安装Apache服务(httpd) 编译安装PHP wget http://cn2.php.net/distributions/php-7.1.0.tar.gz tar -zxvf php-7.1.0.tar.gz cd php 编译 PHP 时需要 --enable-fpm 阅读全文
posted @ 2016-12-21 20:11 BaronYan 阅读(285) 评论(0) 推荐(0) 编辑
摘要:启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name[root@server httpd-2.2.4]# /usr/local/apache/bin/apachectl st 阅读全文
posted @ 2016-12-21 19:04 BaronYan 阅读(528) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示