New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15285 (new defect)

Opened 4 years ago

Last modified 16 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

Changed 4 years ago by jmr@…

  • cc jwa@… added
  • owner changed from macports-tickets@… to ryandesign@…
  • milestone set to Port Bugs
  • summary changed from libxml schemaValidate to php5: libxml schemaValidate fails on some schemas

Assigning to php5 maintainers.

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Changed 16 months ago by jmr@…

  • port set to php5
Note: See TracTickets for help on using tickets.