ISPconfig automated installer and PHP versions

Discussion in 'General' started by Peter Oudenes, Mar 26, 2023.

  1. Peter Oudenes

    Peter Oudenes New Member

    Hi all,
    First of all.... Wonderfull installer!!!
    I had a question about all the PHP versions that is installed. Is it possible to delete some of them because in not use them?
    ISPconfig is using 7.4? My sites work on 8.1. So the rest can be removed.

    If this is possible will this also give me some working memory back? Of the 2GB I have 170KB over with a full 1GB Swap.
    Used before the old IPSconfig installation (full manual) and had around 800KB left of working memory.
    Greets
     
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    I am quite sure you can remove all php except default version for your OS and the one you intended to use.

    About the memory usage, you have to check why it is rising.
     
    Peter Oudenes likes this.
  3. Peter Oudenes

    Peter Oudenes New Member

    EDIT: Read some articles that ClamAv is using lot of memory.... Or disable it and so manual scans or leave it I guess

    Thanks for the fast reply! Found clamav is take all the memory:

    root@mail:/var/log/bash# free -h
    total used free shared buff/cache available
    Mem: 1.9Gi 418Mi 1.2Gi 84Mi 285Mi 1.3Gi
    Swap: 975Mi 513Mi 462Mi

    root@mail:/var/log/bash# systemctl restart clamav-daemon

    root@mail:/var/log/bash# free -h
    total used free shared buff/cache available
    Mem: 1.9Gi 1.4Gi 75Mi 84Mi 455Mi 303Mi
    Swap: 975Mi 519Mi 456Mi

    root@mail:/var/log/bash#
     
    Last edited: Mar 27, 2023
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Make 4GB swap. Then at least out-of-memory halts go away.
     
    ahrasis likes this.

Share This Page