1. 安装OneinStack 选择lnmp模式,默认安装php5.4,安装步骤参考:http://oneinstack.com/install/ 选项如下: Install Nginx Do not install Apache Do not install Tomcat Install MySQ ...
分类:
Web程序 时间:
2017-02-18 16:42:25
阅读次数:
224
系统:centos7.2php版本:php7.0.0安装前工作:yuminstallgccmakecrul-devellibxslt-develgd-devellibjpeg-devellibpnglibpng-devellibxml2-develbzip2-devellibcurl-devel–y#如果下面配置编译报错请yum安装相关依赖包wget-O/etc/yum.repos.d/epel.repohttp://mirrors.aliyun..
分类:
Web程序 时间:
2017-02-13 22:23:59
阅读次数:
337
最小化安装系统优化系统关闭防火墙等安装mysql安装PHP7.0.14开启GD库开启OPcache安装论坛1.2参见我的百度经验不详述3.安装mysqlyum-yinstallmysqlmysql-servermysql-devel4.安装PHP7.0.14开启GD库开启OPcache更新源rpm-Uvhhttps://mirror.webtatic.com/yum/el6/latest.rpm安装p..
分类:
Web程序 时间:
2017-01-30 14:50:43
阅读次数:
252
通常我们将session存储到memcached,但是有时候老大让你将session存储到Redis怎么办,因此有必要了解下如何将session存到redis。step1、服务器上需要安装redis扩展(以php7为例)#以安装php7为例,简单起见直接安装了全部的包
yuminstallphp70w.x86_64php70w-cli.x86_64php70w-co..
分类:
Web程序 时间:
2016-12-28 21:45:01
阅读次数:
765
安装依赖 编译 出现 configure: error: mcrypt.h not found. Please reinstall libmcrypt时 出现 Don't know how to define struct flock on this system, set --enable-opc ...
分类:
Web程序 时间:
2016-12-26 22:00:34
阅读次数:
437
1、假如apache的配置文件httpd.conf同时加载libphp5.so和libphp7.so 2、如图所示,modules下同时存在libphp5.so/libphp7.so 3、启动apache,遇到下列错误 4、解决办法就是卸载php5;yum remove php;因为我是yum方式安 ...
分类:
Web程序 时间:
2016-12-22 11:33:10
阅读次数:
618
安装准备: http://ftp.cuhk.edu.hk/pub/packages/apache.org//httpd/httpd-2.4.23.tar.gz 下载apache http://cn2.php.net/distributions/php-7.1.0.tar.gz 下载php7.1 ht ...
分类:
Web程序 时间:
2016-12-17 22:16:32
阅读次数:
196
1.首先下载php7 使用wget命令下载 wget http://cn2.php.net/distributions/php-7.0.12.tar.bz2 2.然后解压 tar -xvf php-7.0.12.tar.bz2 3.然后安装依赖库 sudo apt-get update sudo a ...
分类:
Web程序 时间:
2016-11-26 02:23:34
阅读次数:
270
sudoapt-getinstallnginxcd/etc/nginx/sites-enabledvi/etc/nginx/sites-available/default(配置文件就是这个,其他没必要改)http://cn2.php.net/distributions/php-7.0.13.tar.gztar-zxvfphp-7.0.13.tar.gzcdphp-7.0.13./configure--help./configure--prefix=/home/skinglzw8/..
分类:
Web程序 时间:
2016-11-24 22:19:13
阅读次数:
235
首先下载安装apache2 输入:sudo apt-get install apache2 安装完毕后,在浏览器中输入:localhost 显示如下图,说明安装正确。 紧接着安装php7.0 输入:sudo apt-get install php7.0 安装完毕后,再安装MySQL 输入:sudo ...
分类:
系统相关 时间:
2016-11-19 12:06:16
阅读次数:
297