如何在WordPress目录中找到php.ini?

发布于 2025-02-14 00:57:58 字数 229 浏览 1 评论 0原文

我需要配置error_log参数,我不知道WordPress在哪里。

这是我在WordPress中的目录

i need config the error_log parameter and i have no idea where is wordpress.

enter image description here

that is my directory in wordpress

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦在深巷 2025-02-21 00:57:58

在WordPress中,您无需直接访问PHP配置,而可以使用wp-config.php文件来更改某些PHP设置和配置,如果从Web服务器允许,除非您应使用除文件管理器以外的其他内容访问php.ini配置,像SSH。因为文件管理器通常是从与/home/name Similiar相似的一些路径开始,但是您需要从root“/”找到访问文件才能查找WebServer配置。

in wordpress you don't have direct access to php configurations, instead you can use wp-config.php file to change some php settings and configs if allowed from web server, unless you should access php.ini configurations with something other than file manager, like ssh. because file managers usually starts from some paths similiar to /home/name but you need access files from root "/" to find webserver configs.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文