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

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

报告相同问题?