I just install a complete new Drupal install in a Debian VM inside proxmox, everything works as intended, but I cannot add content to it(it gives me a 500 error).

Apache logs show me that the memory is exhausted, search online, no real answer, tried a lot of thing in PHP.ini, .htaccess… At first the VM had 1 vcpu and 1GB of RAM, not working, I’ve put the PHP memory limit to 1GB, give 8GB to the vm, and 4vcpu. Not working, just “loading” the 500 longer.

Error got into /var/log/apache2/error.log : PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes)) in Unknown on line 0. This is why I give the vm 8GB and change php memory_limit to 1GB but it did nothing…

Have no solutions, as now. If you have one please let me know! thanks 🙂

  • Retro_unlimited@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    12 days ago

    I remember when I setup my Wordpress website years ago I had permission errors, so the Wordpress install needed read/write access to the website directory. Maybe the same in your case?

    • foremanguyOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      12 days ago

      going to double check it, but I don’t think this is it

      EDIT: no problems on this side…