dongpin6941 2018-08-29 18:45
浏览 68
已采纳

如何在上传图像时修复WordPress上的HTTP错误?

I read all the suggestions online but none of them working for me .The problem I'm having is when I'm trying to upload an image on WordPress it gives HTTP error. I did change the ('WP_MEMORY_LIMIT', '2000M'); but still did not work. I am running with xampp.

  • 写回答

1条回答 默认 最新

  • dougong5817 2018-08-29 19:07
    关注

    change it globaly in php.ini (in xampp located in '\xampp\php\php.ini'):

    memory_limit = 256M // search for this "memory_limit" and adjust it by your needs.
    

    if there is no memory_limit in your php.ini file add it and restart xampp/web server

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

报告相同问题?

悬赏问题

  • ¥15 FileNotFoundError 解决方案
  • ¥15 uniapp实现如下图的图表功能
  • ¥15 u-subsection如何修改相邻两个节点样式
  • ¥30 vs2010开发 WFP(windows filtering platform)
  • ¥15 服务端控制goose报文控制块的发布问题
  • ¥15 学习指导与未来导向啊
  • ¥15 求多普勒频移瞬时表达式
  • ¥15 如果要做一个老年人平板有哪些需求
  • ¥15 k8s生产配置推荐配置及部署方案
  • ¥15 matlab提取运动物体的坐标