如何找到我在我的虚拟主机提供商的php.ini? [英] How to find my php.ini in my webhost?
本文介绍了如何找到我在我的虚拟主机提供商的php.ini?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个错误日志,上面写着:
I'm having an error log that says:
Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini.
我要改变我的虚拟主机上我的php.ini的设置,但我不能找到它。
I want to change the settings on my php.ini on my webhost but i cant find it.
推荐答案
如果你是一个共享的主机,它是最有可能的是你没有访问的php.ini
If you are on a shared hosting, it's most likely that you do not have access to the php.ini
不过,您可以通过添加这对你的.htaccess更改所需的值:
However, you can change the desired value by adding this to your .htaccess:
php_value max_input_vars 3000 //you can change 3000 to whatever suits your needs
这篇关于如何找到我在我的虚拟主机提供商的php.ini?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文