默认php.ini macOs Catalina [英] Default php.ini macOs Catalina

查看:68
本文介绍了默认php.ini macOs Catalina的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道PHP使用哪个默认的php.ini?

I would like to know which php.ini is the default one used by PHP ?

因为如果您写定位php.ini,那里有3个文件,并且所有这些文件都有一个/etc作为父目录,但不是/etc的相同父目录,所以我不知道哪个是默认目录.由PHP使用.终端输出

Because if you write locate php.ini there a 3 files and all of these files have an /etc as parent directory, but not the same parent directory of /etc, so I don't know which one is the default one used by PHP. Terminal output

推荐答案

在控制台中输入:

php -i |grep php\.ini

这篇关于默认php.ini macOs Catalina的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆