摘要:
默认php版本为7.1,需要升级,并且设置成默认的最新版。brew search php查到最新版本之后,目前最新@7.3brew install php@7.3设置环境变量 vim ~/.bash_profile环境变量加入一下代码:这个环境设置在php下载过程中有提示: If you need 阅读全文
摘要:
508 git clone https://gitee.com/swoole/swoole.git 509 ls 510 which php 511 brew install autoconf 512 cd swoole 513 sudo /Applications/MAMP/bin/php/php 阅读全文
摘要:
mysql> create procedure p4() -> begin -> declare age int default 18; -> if age >= 18 then -> select "已成年"; -> else -> select "未成年"; -> end if; -> end$ 阅读全文
摘要:
mysql> show status like 'connections'; + + + | Variable_name | Value | + + + | Connections | 6 | + + + 1 row in set (0.00 sec) 查询服务器启动了多长时间: mysql> sh 阅读全文