摘要: 1、安装扩展 /c/phpStudy/PHPTutorial/php/php-5.5.38/php /c/ProgramData/ComposerSetup/bin/composer.phar require --prefer-dist --ignore-platform-reqs yiisoft/ 阅读全文
posted @ 2019-11-29 13:43 阡尘小陌 阅读(765) 评论(0) 推荐(0) 编辑
摘要: wget http://download.redis.io/releases/redis-4.0.0.tar.gztar zxf redis-4.0.0.tar.gzcd redis-4.0.0make 修改配置文件基本项port 11203pidfile /var/run/redis_11203. 阅读全文
posted @ 2019-11-29 13:38 阡尘小陌 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1、分割nginx日志vim /etc/logrotate.d/nginx/var/log/nginx/*log { create 0644 nginx nginx rotate 10 missingok notifempty compress sharedscripts postrotate /b 阅读全文
posted @ 2019-11-29 13:34 阡尘小陌 阅读(576) 评论(0) 推荐(0) 编辑
摘要: 1、首先得安装libyamlgit clone https://github.com/yaml/libyaml./bootstrap ./configure make make install 2、安装扩展 php5.6版本wget http://pecl.php.net/get/yaml-1.3. 阅读全文
posted @ 2019-11-29 13:30 阡尘小陌 阅读(1511) 评论(0) 推荐(0) 编辑
摘要: 1、先得安装freetdswget ftp://ftp.freetds.org/pub/freetds/stable/freetds-1.1.5.tar.gztar zxvf freetds-1.1.5.tar.gz./configure --prefix=/usr/local/freetds -- 阅读全文
posted @ 2019-11-29 13:28 阡尘小陌 阅读(711) 评论(0) 推荐(0) 编辑
摘要: PHP 版本5.5 Windows下 1、首先下载OCI8的扩展 http://pecl.php.net/package/o... 我这里下的版本是5.5 Thread Safe (TS) x86 版本2、解压php_oci8.dll文件,拷贝到PHP扩展目录下,扩展目录在php.ini中 exte 阅读全文
posted @ 2019-11-29 13:26 阡尘小陌 阅读(2002) 评论(0) 推荐(0) 编辑
摘要: 1、账号创建及授权 grant all privileges on *.* to 'yangxin'@'%' identified by 'yangxin123456' with grant option; privileges:表示将所有权限授予给用户。也可指定具体的权限,如:SELECT、CRE 阅读全文
posted @ 2019-11-29 13:20 阡尘小陌 阅读(407) 评论(0) 推荐(0) 编辑
摘要: <VirtualHost www.a.com:80> DocumentRoot "C:\object\a\web" ServerName http://www.a.com/ ServerAlias <Directory "C:\object\a\web"> Options FollowSymLink 阅读全文
posted @ 2019-11-13 17:33 阡尘小陌 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 1、Linux下 执行前脚本前先执行一下命令export NLS_LANG="SIMPLIFIED CHINESE_CHINA.AL32UTF8"2、Windows下在代码里添加 putenv("NLS_LANG=AMERICAN_AMERICA.AL32UTF8");例:header("conte 阅读全文
posted @ 2019-07-24 13:46 阡尘小陌 阅读(935) 评论(0) 推荐(0) 编辑
摘要: 一、nginx下 隐藏入口文件时,配置nginx 首先得开启nginx pathinfo模式: location ~ \.php { #去掉$ root E:/phpStudy/WWW/tp/public/; fastcgi_pass 127.0.0.1:9000; fastcgi_index in 阅读全文
posted @ 2019-07-24 13:39 阡尘小陌 阅读(2159) 评论(2) 推荐(0) 编辑