doupingmao1903 2017-06-30 13:30
浏览 66
已采纳

自定义php.ini文件被认为是坏的,为什么? 在root或root的子文件夹中使用自定义php.ini文件时会出现什么问题?

I have researched on php.ini files and finally got that custom php.ini files that are placed inside the directories when one need, are problematic and can make unexpected errors. Can anyone tell why custom php.ini files are not good to use on the server ?

  • 写回答

1条回答 默认 最新

  • drtkyykai004574380 2017-06-30 13:36
    关注

    Not so bad to use customized php.ini files. Of course, it is true that some major problems and security issues may be created in this case, but if you leave the sensitive sections as default, there won't be any security problems at all. Also, you can improve the security of a web application by editing the php.ini customs. For example, you can set the http_only flag on default php sessions.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!