Ticket #15285 (closed defect: worksforme)
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
Note: See
TracTickets for help on using
tickets.


Assigning to php5 maintainers.