Title: libxml2-fix broken
Last modified: August 19, 2016

---

# libxml2-fix broken

 *  [Juan](https://wordpress.org/support/users/ateo/)
 * (@ateo)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/libxml2-fix-broken/)
 * libxml2-fix v0.2.3 does not work when libxml2 2.6.2 is installed. Here is what
   the plugin code should look like for compatilibity with all version of libxml2
   below 2.7. The “IF” conditional should be:
 * `if ((LIBXML_DOTTED_VERSION <= '2.7.2') || ((LIBXML_DOTTED_VERSION == '2.7.3')&&
   version_compare( PHP_VERSION, '5.2.9', '<')))`
 * Once I made this change, xmlrpc no longer stripped out brackets so I am now able
   to upload images with posts via workpress iphone app.
 * Hope this helps.

The topic ‘libxml2-fix broken’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [Juan](https://wordpress.org/support/users/ateo/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/libxml2-fix-broken/)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
