如何在Godaddy共享托管Linux中访问php.ini文件 [英] How to access the php.ini file in godaddy shared hosting linux

查看:58
本文介绍了如何在Godaddy共享托管Linux中访问php.ini文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网站,并且在我的本地主机上运行良好.

I have a web, and running well on my localhost.

当我在Godaddy主机上上传后,我的网络出现了一个错误.结论是,我必须更改php.ini文件上的memory_limit,但无法在FTP管理器上找到php.ini.

After I Upload on my godaddy hosting, My web got a bug. the conclusions is, I MUST change the memory_limit on the php.ini file, BUT cant find php.ini on FTP manager.

我试图:

  • 找到更改为分类FTP管理器的方法.
  • 从本地创建/上传php.ini文件,但不起作用.

我的问题是:我该如何解决?我必须更改php.ini文件. 有人有像我这样的经历吗?

My Questions is : How I can Fix this? I Must change php.ini file. does anyone have experience like me?

推荐答案

使用所需的设置创建php.ini文件,并将其上传到服务器的根文件夹中.它将在此新设置下生效.

Create php.ini file with your desired setting and upload it in your root folder of server. It will take effect with this new setting.

您无法编辑godaddy服务器的php.ini文件,但是可以使用新设置上传自己的php.ini副本.

You can't edit the php.ini file of godaddy server, but you can upload your own copy of your php.ini with your new setting.

此新设置仅对您可用.其他网站将不受此新设置的影响.

This new setting will be available only to you. Other websites will not be affected with this new setting.

以前我也遇到过同样的问题,但是这样做之后,我的问题就解决了.

Previously I faced the same issue, but after doing this my problem was resolved.

这篇关于如何在Godaddy共享托管Linux中访问php.ini文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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