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

