Home >Backend Development >PHP Tutorial >mac 自带的php环境没找到php.ini 配置文件,上phpinfo

mac 自带的php环境没找到php.ini 配置文件,上phpinfo

不言
不言Original
2018-05-19 10:29:092070browse


回复内容:

没找到,就是全部用的默认配置,你在etc里面加上就可以用自定义配置了。

sudo find / -name php.ini
如果没找到
cd /Private/etc
可以找到php.ini.default
cp php.ini.default php.ini
复制一份

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