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

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

不言
Release: 2023-02-28 11:30:01
Original
2045 people have browsed it


回复内容:

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template