Server Config went empty after editing PHP settings

Discussion in 'ISPConfig 3 Priority Support' started by Taleman, Jan 3, 2021.

  1. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    In ISPConfig Panel System | Server Config | Web I edited PHP settings. They were PHP 5.6 still after upgrading from Debian 9 to Debian 10. I changed the PHP settings by copying from a host that has ISPConfig 3.1.15 installed on Debian 10. I copy pasted all except PHP-FPM pool directory, which I let stay.
    After saving I tested with htf-common-issues.php and it still showed
    Code:
    [INFO] php-cgi (used for cgi php in default vhost!) is version 5.6.40-0+deb8u2
    
    Wondering why I checked what I wrote, and all the values in PHP settings were empty. I tried copy pasting them again, but got error when saving about website settings. Checking those I saw they were also empty.
    At this point I went Monitor | Data Log History and undid that change. Now looks like all is back but I dare not try this again until understand what happened and how this PHP settings change should be done.
     
    ahrasis likes this.
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    I suppose you ran
    Code:
    update-alternatives --config php-cgi
    ?

    Did you reconfigure services after?
     
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I would just try it again, the empty config is probably some kind of race condition which we were not able to track down yet, so I don't think it will happen again when you do the same changes. Dir you maybe had the ispconfig ui open in two browser windows simultaniously or something like that?
     
    ahrasis likes this.

Share This Page