Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-2103

PHP 8.1 with opcache.enable=1 throw an error for ini_set function

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      1. Install the latest Ibexa DXP v3.3
      2. Enable opcache in php.ini
      zend_extension=opcache.so
      opcache.enable=1
      opcache.enable_cli=1
      1.  Run php bin/console cache:clear

       

      Actual

      Any command throws an error

      In NativeFileSessionHandler.php line 52:
                                                                                                         
        Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent  
                                                                                                         
      

      Expected

      Commands should not generate this error

      Note
      PHP 7.4 with opcache do not generate this an error

       

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              mateusz.debinski@ibexa.co Mateusz Dębiński
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: