[MacPorts] #14063: PHP 5.2.5_1 crashes on XSLTProcessor::importStylesheet

MacPorts noreply at macports.org
Fri Aug 15 07:31:29 PDT 2008


#14063: PHP 5.2.5_1 crashes on XSLTProcessor::importStylesheet
------------------------------------+---------------------------------------
  Reporter:  peter at no-nonsense.org  |       Owner:  ryandesign at macports.org
      Type:  defect                 |      Status:  new                    
  Priority:  Normal                 |   Milestone:  Port Bugs              
 Component:  ports                  |     Version:  1.6.0                  
Resolution:                         |    Keywords:                         
------------------------------------+---------------------------------------
Comment (by plb at webfactory.de):

 I am facing the same problems as described. Diverse operations in php
 related to libxsl keep crashing apache (importing stylesheets,
 transforming xml, just unseting an XSLTProcessor object).

 In the past I also had those strange crashes when using the libxml in php.
 That was because of apache and php sharing their libxml randomly. This has
 been solved, as you can read above, by building port's libxml with two-
 level-namespace.

 Therefore I tried to fix libxslt the same way libxml has been fixed: I
 forced it to be build with two-level-namespace by adding the following
 lines in its portfile:

 use_autoconf          yes
 autoconf.cmd          autoreconf

 Well, now all php operations seem to run as expected again. This is fine
 so far, but of course it would be perfect if you guys could patch the
 repository's portfile :)

-- 
Ticket URL: <http://trac.macports.org/ticket/14063#comment:18>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list