Mac MAMP 环境PHP添加pcntl扩展 并设置为默认php 2021年02月27日 liziyu 7 目标很明确,就是将MAC自带的php不带使用,使用MAMP的PHP作为默认PHP并安装pcntl扩展。折腾死人了,不过还是成功了。1、下载并解压源码包#下载源码包 wget http://us.php.net/distributions/php-7.4.... 阅读全文 0 评论
mac安装homebrew失败怎么办? 2021年02月26日 liziyu 5 https://www.zhihu.com/question/35928898/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.s... 阅读全文 0 评论
TP6的跨域中间件 2021年02月26日 liziyu 6 app\middleware.php<?php // 全局中间件定义文件 return [ // 跨域请求 \think\middleware\AllowCrossDomain::class ]; 阅读全文 0 评论
Mac 下安装配置基于多商品的多站点环境 2021年02月23日 liziyu 5 概念:Wamp 是 Windows Apache Mysql PHP 集成安装环境,适用于 Windows 系统;Mamp 是 Mac Apache Mysql PHP 集成安装环境,适用于 Mac OS 系统;配置 httpd.conf监听多个端口:#... 阅读全文 0 评论
MAC安装composer全局时遇到/usr/local/bin/composer: No such file or directory的问题解决 2021年02月21日 liziyu 6 问题就是这个问题,系统版本是:MACOS 11.23传送门:https://blog.csdn.net/m0_46623277/article/details/108007011 阅读全文 0 评论
工作流workflow或状态机state-machine 2021年02月15日 liziyu 8 通常情况下B端业务系统中的核心业务逻辑便是工作流了。关于PHP工作流的轮子收藏以备后用:https://symfony.com/doc/current/workflow.html蛮好的。 阅读全文 0 评论
刷新父窗体关闭本体 2021年02月07日 liziyu 10 记号:parent.location.reload(); // 父页面刷新 var index = parent.layer.getFrameIndex(window.name); //获取窗口索引 parent.layer.close(index); 阅读全文 0 评论