php linux部署相关
http://www.itbulu.com/wdcp-php55.html
http://www.wdlinux.cn/wdcp/install.html
http://www.yiichina.com/doc/guide/2.0/runtime-logging
wdcp支持两种安装方式
1 源码编译 此安装比较麻烦和耗时,一般是20分钟至一个小时不等,具体视机器配置情况而定
2 RPM包安装 简单快速,下载快的话,几分钟就可以完成
源码安装(ssh登录服务器,执行如下操作即可,需root用户身份安装)
wget http://dl.wdlinux.cn:5180/lanmp_laster.tar.gz
tar zxvf lanmp_laster.tar.gz
sh install.sh
4个可选安装,如下图
.htaccess
RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule . index.php
----------------------------------------------------
1、拉取代码倒根目录
2、安装composer
3、执行 composer global require "fxp/composer-asset-plugin:~1.0.0"
4、在项目根目录下执行 composer update
5、在项目根目录下执行 ./init
6、在项目根目录下执行./yii migrate
----------------------------------------------------------------
memcache 安装
1、wget https://pecl.php.net/get/memcache-3.0.8.tgz
2、gzip -d memcache-3.0.8.tgz
3、tar xvf memcache-3.0.8.tar
4、cd memcache-3.0.8
5、/www/wdlinux/php/bin/phpize
6、./configure --enable-memcache --with-php-config=/www/wdlinux/php/bin/php-config --with-zlib-dir
7、make
8、make install
最新文章
- selenium webdriver学习(一)
- RFID 基础/分类/编码/调制/传输
- Delphi经验总结(3)
- 泛型,动态创建List<;T>; (转摘)
- linux-软连接
- 给那些因为Firebug而舍不得FireFox的朋友
- Angular Textarea 高度自动变化
- css中em与px
- 基于Proxy思想的Android插件框架
- quartz_spring 定时器配置
- Prism for WPF初探(构建简单的模块化开发框架)
- OpenID Connect 是什么?
- windows powershell基础
- 【Java基础】【12String类】
- Unity3D Shader 入门
- Java中 输入字符串的时候next()和nextLine()有什么区别
- ubuntu16.04安装kinetic调用gazebo_control解决方案
- Hadoop日记Day4---去除HADOOP_HOME is deprecated
- 前端路由以及浏览器回退,hash &; history &; location
- VS2010程序调试
热门文章
- IEnumerator/IEnumerable接口
- LAMP安装配置过程
- sv_target_output dx11
- Firefox下网页缩放时防止div被挤到下一层
- Ubuntu12.04 + 虚拟机VMware 9 + Secure CRT + EditPlus 本地C++开发环境搭建
- HDU4758 Walk Through Squares AC自动机&;&;dp
- C#图片上写文字
- hadoop集群基本配置
- lintcode 中等题:Evaluate Reverse Polish notation逆波兰表达式求值
- Visual StudioTools for Unity 使用技巧2