Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16997

putenv has been disabled for security reasons

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 4.0.0-a1
    • None
    • ACP, Extensions
    • None

    Description

      PHP function putenv is disabled on some Servers by Default.

      The CUSTOMIZE section in ACP cannot be opened completely.
      I made a quick change in the file "root/phpbb/composer/installer.php" on line 120 as follows:  

      if (function_exists('putenv'))
      {
          putenv('COMPOSER_HOME=' . filesystem_helper::realpath($root_path) . '/store/composer');
      } else
      {
          // TODO info: putenv has been disabled for security reasons
      }
       
        

      Attachments

        Activity

          People

            Unassigned Unassigned
            sutrus sutrus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: