常用的Ubuntu PHP指令集小结
时间:2022-06-01
来源:互联网
标签:
在手机上看
手机扫描阅读
PHP 指令集[Ubuntu]
查看指令集
php --help
常用指令集
# 查看 php 版本 php -v # 查看已开启扩展 php -m # 查看扩展版本 php --ri package# 查看 php 配置文件存放路径 php --ini
以下是 PHP8.0 指令集
php --hlep
输出
Error in argument 1, char 1: no argument for option -Usage: php [options] [-f] <file> [--] [args...]
php [options] -r <code> [--] [args...]
php [options] [-B <begin_code>] -R <code> [-E <end_code>] [--] [args...]
php [options] [-B <begin_code>] -F <file> [-E <end_code>] [--] [args...]
php [options] -S <addr>:<port> [-t docroot] [router]
php [options] -- [args...]
php [options] -a -a Run interactively -c <path>|<file> Look for php.ini file in this directory -n No configuration (ini) files will be used -d foo[=bar] Define INI entry foo with value 'bar'
-e Generate extended information for debugger/profiler -f <file> Parse and execute <file>.
-h This help -i PHP information -l Syntax check only (lint)
-m Show compiled in modules -r <code> Run PHP <code> without using script tags <?..?>
-B <begin_code> Run PHP <begin_code> before processing input lines -R <code> Run PHP <code> for every input line -F <file> Parse and execute <file> for every input line -E <end_code> Run PHP <end_code> after processing all input lines -H Hide any passed arguments from external tools.
-S <addr>:<port> Run with built-in web server.
-t <docroot> Specify document root <docroot> for built-in web server.
-s Output HTML syntax highlighted source.
-v Version number -w Output source with stripped comments and whitespace.
-z <file> Load Zend extension <file>.
args... Arguments passed to script. Use -- args when first argument
starts with - or script is read from stdin --ini Show configuration file names --rf <name> Show information about function <name>.
--rc <name> Show information about class <name>.
--re <name> Show information about extension <name>.
--rz <name> Show information about Zend extension <name>.
--ri <name> Show configuration for extension <name>.PHP中文网近期上线了一批新的公益课程,需要的朋友可以点击《PHP视频教程》进行查看学习~
相关阅读 更多
-
核芯显卡是什么意思?核芯显卡和独立显卡有什么区别? 时间:2025-12-19 -
什么是算术逻辑单元ALU 算术逻辑单元的功能和结构 时间:2025-12-19 -
什么是视觉识别色差检测 视觉识别色差检测的原理、技术特点、应用及常用工具 时间:2025-12-19 -
什么是流量控制 流量控制和拥塞控制的区别 时间:2025-12-19 -
GPU虚拟化是什么意思 GPU虚拟化有哪三种方法 时间:2025-12-19 -
独显是什么意思 独显和集显的区别 时间:2025-12-19
今日更新
-
欧洲人是什么梗?揭秘欧皇血统的玄学梗,看完秒懂非酋的痛!
阅读:18
-
不挂科官网网页版极速登录-不挂科官网精准搜题通道
阅读:18
-
币安标记价格机制是否参考其他平台数据解析
阅读:18
-
包子漫画免费漫画浏览入口地址大全-包子漫画免费漫画入口页面极速直达
阅读:18
-
蛋仔派对网易官服下载入口来了 蛋仔派对网易版2025官服最新版本上线
阅读:18
-
抖音充值官方通道-抖音钻石1:10充值直达
阅读:18
-
爱壹帆海外追剧网页版本下载安装-爱壹帆海外追剧软件2025最新入口地址
阅读:18
-
最新殴打业主的梗是什么意思?揭秘背后爆笑真相,看完笑到停不下来!
阅读:18
-
虫虫漫画免费弹窗入口最新版-虫虫漫画免费弹窗入口极速阅读
阅读:18
-
币安钱包交易失败修复后 将如何优化交易流程监控
阅读:18










