Thinkphp3 多条件查询
Thinkphp多条件区间查询
$map['insert_time'] = array(array('GT',$strat_time),array('LT',$end_time));
Thinkphp多条件区间查询
$map['insert_time'] = array(array('GT',$strat_time),array('LT',$end_time));
rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
CentOS 6.x
rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
CentOS 5.x
rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm
yum install php70w-fpm
yum install php70w-devel php70w-pear php70w-httpd-devel
安装php扩展
yum -y install gd php70w-gd gd-devel php70w-xml php70w-common php70w-mbstring php70w-ldap php70w-pear php70w-xmlrpc php70w-imap
安装mysql
yum -y install mysql-server mysql mysql-devel
更改mysql远程访问
mysql -uroot -proot123
GRANT ALL PRIVILEGES ON . TO 'root'@'%' IDENTIFIED BY 'root123' WITH GRANT OPTION;
更改apache配置
vi /etc/httpd/conf/httpd.conf
假如这句话没有就加上
LoadModule rewrite_module modules/mod_rewrite.so
AllowOverride None 改成 All