New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15285 (closed defect: worksforme)

Opened 5 years ago

Last modified 6 months ago

php5: libxml schemaValidate fails on some schemas

Reported by: jariberg@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: jwa@…
Port: php5

Description

In the current Macport PHP5 package the LibXML2 library fails on some schemas when calling schemaValidate (DomDocument->schemaValidate)

I solved this myself by changing --with-libxml-dir in the php5 Portfile and reinstalled php5 (did an uninstall, clean first)

edit: /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/php5/Portfile change: --with-libxml-dir=${prefix} to use the native libxml version by changing it to --with-libxml-dir=/usr

Remember to recompile and stop/start apache. It should now work!

Change History

comment:1 Changed 5 years ago by jmr@…

  • Cc jwa@… added
  • Owner changed from macports-tickets@… to ryandesign@…
  • Summary changed from libxml schemaValidate to php5: libxml schemaValidate fails on some schemas
  • Milestone set to Port Bugs

Assigning to php5 maintainers.

comment:2 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

comment:3 Changed 3 years ago by jmr@…

  • Port set to php5

comment:4 Changed 12 months ago by ryandesign@…

Please re-test with the new php53 and php54 ports. If it's still a problem, please provide a reproduction recipe showing the problem.

comment:5 Changed 6 months ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to worksforme

No response; assuming a newer version of libxml and/or php fixed it.

Note: See TracTickets for help on using tickets.