摘要:首先需要引入: 方式一: 简单 方式二:结合异常处理,记录异常的原因 方式三:定位日志位置,利用PHP魔术常亮 说明: ①:日志的结果如下:F:\WWW\xxx\xxx\Application\Pay\Logic\OrderLogic.class.php[214L](方式短信通知) ②:__FILE
阅读全文
摘要:$Arr[0] ){ array_splice($newArr,0,0,$Arr[0]); #Arr[0] 当前值 比数组的最后一位还大 }else if ( $newArr[ $lenNum-1 ] $v) { if ( ($v $Arr[0]) ){ array_splice($newArr,$k+1,0,$Arr[0]);...
阅读全文
摘要:可参照手册:https://pkg.phpcomposer.com/
阅读全文
摘要:php版本 7.2.19git clone https://gitee.com/swoole/swoole.git 1、cd swoole根目录下 运行 /usr/local/php/bin/phpize 2、./configure --with-php-config=/usr/local/php/
阅读全文
摘要:THINK_PATH 框架系统目录 ROOT_PATH 框架应用根目录 APP_PATH 应用目录(默认为application) CONF_PATH 配置目录(默认为APP_PATH) LIB_PATH 系统类库目录(默认为 THINK_PATH.'library/') CORE_PATH 系统核心类库目录 (默认为 LIB_PATH.'think/') TRAIT_PATH 系统trait...
阅读全文
摘要:配置方式如下: 使用符合缓存类型时,需要根据需要使用store方法切换缓存。 当使用 的时候,使用的是default缓存标识的缓存配置。如果需要切换到其它的缓存标识操作,可以使用:
阅读全文
摘要:wget http://pecl.php.net/get/redis-3.1.1.tgz tar zxvf redis-3.1.1.tgz cd redis-3.1.1 /usr/local/php/bin/phpize ./configure --with-php-config=/usr/loca
阅读全文
摘要:wget http://pecl.php.net/get/PDO_MYSQL-1.0.2.tgz tar zxvf PDO_MYSQL-1.0.2.tgz cd PDO_MYSQL-1.0.2 /usr/local/php/bin/phpize ./configure --with-php-conf
阅读全文