linux 命令行下查看php.ini位置

输入命令

php -i | grep php.ini

 

输出结果

<p class="p1"><span class="s1">[root@MyServer ~]# php -i | grep php.ini</span></p>
<p class="p1"><span class="s1">Configuration File (php.ini) Path =&gt; /etc</span></p>
<p class="p1"><span class="s1">Loaded Configuration File =&gt; /etc/php.ini</span></p>

发表评论

电子邮件地址不会被公开。 必填项已用*标注