在etc文件夹中找不到php.ini?

编程入门 行业动态 更新时间:2024-10-28 08:22:22
本文介绍了在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?

本文发布于:2023-11-13 10:08:04,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1584093.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:找不到   文件   夹中   ini   php

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!