Project

General

Profile

Bug #5943

rc.php_ini_setup should filter out duplicate extensions.ini values as is done during an upgrade

Added by Jim Pingle over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Start date:
03/02/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.3
Affected Architecture:
All

Description

In some rare edge cases (e.g. corrupted pkg db, forced pkg reinstall) duplicate entries can end up in /usr/local/etc/php/extensions.ini. These are cleaned up on upgrade but it also makes sense to do so during the php.ini setup process to avoid errors at other non-upgrade times.

I have a fix pending, ticket is for tracking purposes.

Associated revisions

Revision 1c225a98 (diff)
Added by Jim Pingle over 3 years ago

Ensure the extensions.ini has no duplications before setting up php.ini. Fixes #5943

History

#1 Updated by Jim Pingle over 3 years ago

  • Status changed from Assigned to Feedback
  • % Done changed from 0 to 100

#2 Updated by Jim Pingle over 3 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 100 to 0

Works. Replicated the problem scenario with the code in place, no more errors.

Also available in: Atom PDF