Home >Backend Development >PHP Tutorial > 几个与php环境有关的命令

几个与php环境有关的命令

WBOY
WBOYOriginal
2016-06-13 13:04:39806browse

几个与php环境相关的命令
查看php加载的模块:
php -m

查看php环境的配置文件:
php --ini
这个命令会列出php的所有配置文件。在一个系统中可能有多个php.ini,比如apache和命令行可能有各自独立的php.ini,可以通过ln -s软链接的形式,统一到一起,使环境保持一致。

安装phing

pear channel-discover pear.phing.info
pear install phing/phing

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn