本文介绍了在etc文件夹中找不到php.ini?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我对我的专用服务器有 root 访问权限,当我运行 phpinfo() 时,它说我的 php.ini 文件在 etc/目录中,使用 ssh 我似乎找不到它在那里,我不知道在哪里可以找到,谢谢:))
I have root access to my dedicated server, and when I run phpinfo() it says my php.ini file is in the etc/ directory, using ssh i can't seem to find it there, i don't know where i can find it thanks :))
推荐答案这可能不是 SO 的问题,但这里有几个潜在的解决方案,当然,所有这些都取决于您的发行版:
This may not be a question for SO, but here's a couple potential solutions, all depending on your distro of course:
locate php.ini应该给你php.ini所在的目录(你可能需要先updateb)
Should give you the directory that php.ini resides in (You may need to do updatedb first)
否则,总会找到.
find / -name "php.ini"更多推荐
在etc文件夹中找不到php.ini?
发布评论