上一页 1 ··· 78 79 80 81 82 83 84 85 86 ··· 133 下一页
摘要: 找到使用着的phpmyadmin 路径 zb@zbdeMacBook-Pro libraries % pwd /Users/zb/www/phpmyadmin/libraries/config.default.php 打开 config.default.php $cfg['LoginCookieVa 阅读全文
posted @ 2021-01-29 14:51 盘思动 阅读(147) 评论(0) 推荐(0)
摘要: brew安装后,如何设置,可以直接使用brew命令 为了避免每次开启命令终端都执行 source ~/.bash_profile,可以确保 ~/.bash_profile 或 ~/.zshrc 文件中的配置已经自动加载。 通常,Bash 和 Zsh 配置文件会在打开终端时自动执行,如果路径正确配置了 阅读全文
posted @ 2021-01-29 14:18 盘思动 阅读(1495) 评论(0) 推荐(0)
摘要: 使用mac,php开发环境比较特殊,遇到了session 存储读取的问题 如题,PHP启用SESSION后抛 Warning: session_start(): open(/var/lib/php/session_user/sess_d5gn9q7q9qii26ajk2c8ltrefs, O_RDW 阅读全文
posted @ 2021-01-28 17:31 盘思动 阅读(2237) 评论(0) 推荐(0)
摘要: zb@zbdeMacBook-Pro 7.1 % brew services stop php@7.1 Stopping `php@7.1`... (might take a while) ==> Successfully stopped `php@7.1` (label: homebrew.mxc 阅读全文
posted @ 2021-01-28 17:20 盘思动 阅读(663) 评论(0) 推荐(0)
摘要: 打开终端,cd到home路径 cd ~ 编辑.bash_profile文件 vim .bash_profile 添加以下代码 alias ll='ls -alF' alias la='ls -A' alias l='ls -CF' 然后source文件 source .bash_profile 到这 阅读全文
posted @ 2021-01-28 16:44 盘思动 阅读(742) 评论(0) 推荐(0)
摘要: 网上通用解决方法的配置如下: server { ... location / { index index.htm index.html index.php; #访问路径的文件不存在则重写URL转交给ThinkPHP处理 if (!-e $request_filename) { rewrite ^/( 阅读全文
posted @ 2021-01-28 16:10 盘思动 阅读(407) 评论(0) 推荐(0)
摘要: 配置文件: /etc/redis/6379.conf 能"执行命令"的"可执行文件":/etc/init.d/redis_6379 # /etc/init.d/redis_6379 start # /etc/init.d/redis_6379 stop # /etc/init.d/redis_637 阅读全文
posted @ 2021-01-26 14:19 盘思动 阅读(120) 评论(0) 推荐(0)
摘要: 入口文件调试报错模式 ini_set('display_errors','1'); error_reporting(E_ALL); define('APP_ERROR_HANDLE',false); define('APP_DEBUG',true); 资源包地址 之前把资源包上传到code.taob 阅读全文
posted @ 2021-01-26 11:08 盘思动 阅读(332) 评论(0) 推荐(0)
摘要: 安装php7.2 lnmp 环境单独再配置php新版本: sudo ./install.sh mphp 我本次的环境,原有是用lnmp1.3 安装的 可以直接下载lnmp1.5的包,从里面单独安装php7.2,安装的过程中,原有的lnmp环境会被破坏掉; 默认没有安装redis,从lnmp1.5 的 阅读全文
posted @ 2021-01-25 14:01 盘思动 阅读(386) 评论(0) 推荐(0)
摘要: 获取最后一个元素 end() 获取第一个元素 reset() 删除最后一个元素(出栈):array_pop() 返回元素值并删除 删除第一个元素:array_shift() 返回元素值并删除 相关的方法: end() - 将内部指针指向数组中的最后一个元素,并输出。 next() - 将内部指针指向 阅读全文
posted @ 2021-01-20 14:04 盘思动 阅读(335) 评论(0) 推荐(0)
上一页 1 ··· 78 79 80 81 82 83 84 85 86 ··· 133 下一页