This commit is contained in:
nick 2018-05-30 09:21:31 +08:00
parent 388a97af56
commit f6bcd8af45
2 changed files with 18 additions and 0 deletions

View File

@ -51,6 +51,9 @@
## PHP 依赖工具
* [Composer](composer.md)
## PHP 命令行模式
* [PHP](php.md)
## 版本控制器
* [Git](git.md)

15
php.md Normal file
View File

@ -0,0 +1,15 @@
#### php 命令
```
php -i #查看 php 信息,与 phpinfo 函数输出内容类似
php -m #查看已安装的模块扩展
php -v #查看版本
php -r "echo 'hello';" #运行代码
php --ini #查看配置、扩展文件路径
php -S ip:端口 -t index.php #开启内置服务器
```