0

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.

halfer
  • 19,824
  • 17
  • 99
  • 186
hamidi
  • 3
  • 4

1 Answers1

0

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

unixmiah
  • 3,081
  • 1
  • 12
  • 26