摘要: .htaccess <VirtualHost *:80> DocumentRoot "E:\hnhzhr" ServerName hz.cn ServerAlias hz.cn <Directory "E:\hnhzhr"> Options FollowSymLinks ExecCGI AllowO 阅读全文
posted @ 2019-03-29 09:45 Gupq 阅读(239) 评论(0) 推荐(0)
摘要: 原作:https://blog.csdn.net/mxdzchallpp/article/details/82867681 Linux系统搭建LNMP环境,即Linux+Nginx+mysql+php。 服务器版本是CentOS Linux release 7.4.1708,阿里云服务器,所以部署环 阅读全文
posted @ 2019-03-25 13:32 Gupq 阅读(259) 评论(0) 推荐(0)
摘要: 1.下载解压 2.make 3 进入SRC ./redis-server 出现画面标识成功 4 下载 https://github.com/redis/hiredis/releases 5解压进入 make -j 6 make install 阅读全文
posted @ 2019-03-16 10:30 Gupq 阅读(197) 评论(0) 推荐(0)
摘要: 1 git clone https://www.gitee.com/swoole/swoole.git 2 用phpize 生成 configure 3./configure --with-php-config =XXXXXX (php-config的路径) 4.make 5make install 阅读全文
posted @ 2019-03-16 10:15 Gupq 阅读(223) 评论(0) 推荐(0)
摘要: 1下载安装包(解压) tar -xjvf XXXX ps:1安装gcc 2.进入文件夹/configure --prefix=/usr/study/php 3.make 4.make install 设置全局变量 vi ~/bash_profile 添加 alias php=/usr/study/p 阅读全文
posted @ 2019-03-14 16:12 Gupq 阅读(186) 评论(0) 推荐(0)
摘要: vhosts.conf <VirtualHost *:80> DocumentRoot "E:\sasa" ServerName sasa.cn ServerAlias sasa.cn <Directory "E:\sasa"> Options FollowSymLinks ExecCGI Allo 阅读全文
posted @ 2019-03-08 08:56 Gupq 阅读(227) 评论(0) 推荐(0)
摘要: $data = Db::name('user')->paginate(40);$pages = ['currentPage'=>$data->currentPage(),'lastPage'=>$data->lastPage(),'total'=>$data->total(),'listRows'= 阅读全文
posted @ 2019-03-04 09:36 Gupq 阅读(338) 评论(0) 推荐(0)
摘要: SELECT userid as 会员编号,usercode as 手机,ucname as 天机会帐号,username as 用户名,star_name as 星名,star_time as 注册时间 from user where FIND_IN_SET(star_name,'北极星,启明星, 阅读全文
posted @ 2019-02-16 16:15 Gupq 阅读(305) 评论(0) 推荐(0)
摘要: $sql = " (select id,'1'as type ,content,photo,issuetime as t from experience where userid = {$userid}) UNION ALL (select id,'2'as type, name as conten 阅读全文
posted @ 2019-01-02 14:09 Gupq 阅读(289) 评论(0) 推荐(0)
摘要: $mobileNums = "13666880092"; var_dump(checkPhone($mobileNums)); function checkPhone($mobileNums) { if(preg_match('/^[1]((3[0-9])|(4[5,7,9])|(5[4])|(8[ 阅读全文
posted @ 2019-01-02 13:06 Gupq 阅读(150) 评论(0) 推荐(0)