php.ini opcache.validate_root has changed i package maintainers version (8.1)

Discussion in 'ISPConfig 3 Priority Support' started by Jemt, Mar 5, 2023.

  1. Jemt

    Jemt Member HowtoForge Supporter

    Hi,

    root@isp:~# uname -a
    Linux isp.codemagic.dk 4.19.0-22-amd64 #1 SMP Debian 4.19.260-1 (2022-09-29) x86_64 GNU/Linux
    root@isp:~# apt-get update
    root@isp:~# apt-get upgrade

    upload_2023-3-5_15-25-18.png

    The most recent version of php.ini for version 8.1 has changed.

    upload_2023-3-5_15-26-35.png

    upload_2023-3-5_15-26-51.png

    The first change doesn't matter, but should I re-enable opcache.validate_root by manually modifying the file? Or what is the recommended approach when upgrading packages to ensure compatibility with ISPConfig? Should I instead run ispconfig_update.sh to allow it to reconfigure services ?
    Lastly, do you see any argument against upgrading using `apt-get --with-new-pkgs upgrade`? Often packages are kept back, and I always end up installing the anyways.

    -- Thanks
     
    Last edited: Mar 5, 2023
  2. Jemt

    Jemt Member HowtoForge Supporter

    The same applies for fpm - the changes are the same.
    upload_2023-3-5_15-38-45.png
     
  3. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    ISPConfig runs a check on the php.ini every minute iirc, and will set this back to =1 when it's not =1.
     
  4. Jemt

    Jemt Member HowtoForge Supporter

    @Th0m You are absolutely right - the value is 1 again.
    I would love an answer to my questions regarding the best approach for upgrading. Thanks :)
     
  5. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Usually when upgrading package but staying on the same OS release, there is no need to do anything special. When asked if you want to replace existing configs, answer "Keep the local version currently installed" is fine in 99% of the cases.

    When upgrading to a new major release of the OS you'll need to run ispconfig_update.sh --force and let it reconfigure your services.
     
  6. Jemt

    Jemt Member HowtoForge Supporter

    Okay, thank you @Th0m. I appreciate the quick response :)
     
  7. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    No problem.
     

Share This Page