Project

General

Profile

Bug #5300

Wrong order of extensions.ini break PHP

Added by Renato Botelho almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Operating System
Target version:
Start date:
10/13/2015
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.3
Affected Architecture:

Description

When one extension depends of other, if they are in wrong order inside extensions.ini PHP breaks. For instance, if suhosin.so is located before session.so, it ends up with an error like this:

Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/suhosin.so' - /usr/local/lib/php/20131226/suhosin.so: Undefined symbol "ps_globals" in Unknown on line 0

A ticket was opened on FreeBSD ports tree reporting it to maintainer - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203741

Associated revisions

Revision d6e8a994 (diff)
Added by Renato Botelho almost 4 years ago

Ticket #5300:

Add a workaround to fix the issue of extensions.ini out of order ending
up breaking PHP. Since the only dependency we have is suhosin that
depends of session, alphabetical sort does the trick for now while a
proper solution is not handled by the ports tree

Revision 3e800a46 (diff)
Added by Renato Botelho almost 4 years ago

Respect chroot_dir, ticket #5300

History

#1 Updated by Renato Botelho over 3 years ago

  • Status changed from New to Feedback

Workaround seems to work fine while FreeBSD ports collection doesn't have a proper/better solution

#2 Updated by Chris Buechler over 3 years ago

  • Status changed from Feedback to Resolved

the workaround works fine

Also available in: Atom PDF