Can't install "Self service Password" , php app

Discussion in 'General' started by ledufakademy, Oct 3, 2020.

  1. ledufakademy

    ledufakademy Member HowtoForge Supporter

    I've got "PHP message: PHP Fatal error: Allowed memory size" with ispconfig, outside ispconfig this app work fine ...

    https://ltb-project.org/documentation/self-service-password
    Code nginx : https://ltb-project.org/documentation/self-service-password/1.3/config_nginx

    php snipets :
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You set a memory limit of 128M and the app needs more than 128M according to the error message you posted. So what's the conclusion? Set a higher memory limit.

    And the nginx code from that website is for a standalone install, so do not put that into the nginx directives field in ISPConfig.
     
  3. ledufakademy

    ledufakademy Member HowtoForge Supporter

    hello till, here is my , not working, actual snipets :
    Note i 've tried 1024M below same message ...

     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Empty the nginx directives field, wait until the changes are all applied and try again. I see nothing in their config file at the first glance that should be added into your ispconfig vhost, so it should work without adding any additional config.

    Also for the PHP config, if you run reasonable defaults in the main php.ini, then nothing should be added there. So empty this as well.

    If it still does not work then, add a php file with phpinfo() function inside to check which actual memory limits are used inside that vhost.
     
  5. ledufakademy

    ledufakademy Member HowtoForge Supporter

    again and again .... you're right !
    just leave empty all !! ...and working.
    i had a conf/config.inc.local.php file ;
    i just to have edit the original .... conf/config.inc.php

    pfffff. 2 hours on this.
    Thank you Till.
     

Share This Page