Title: Parse error
Last modified: August 24, 2016

---

# Parse error

 *  [Mac](https://wordpress.org/support/users/prival/)
 * (@prival)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/parse-error-320/)
 * We got server error 500 and a PHP Parse error in php log within the new version
   1.1.6: parse error in […]\active-directory-integration\ad_ldap\adLDAP.php on 
   line 2597
 * What we can do to solve this problem?
 * PHP 5.2.9
    Apache 2.2 Windows 2008 R2
 * Kind regards,
    Mac
 * [https://wordpress.org/plugins/active-directory-integration/](https://wordpress.org/plugins/active-directory-integration/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [delcasart](https://wordpress.org/support/users/delcasart/)
 * (@delcasart)
 * [11 years ago](https://wordpress.org/support/topic/parse-error-320/#post-6064629)
 * Same problem here.
 *  [John Clarke](https://wordpress.org/support/users/john-clarke/)
 * (@john-clarke)
 * [11 years ago](https://wordpress.org/support/topic/parse-error-320/#post-6064634)
 * I also have the same problem and it is preventing me from upgrading to the latest
   version of the Active Directory Integration Plug-in.
 * The reason for the problem is that the anonymous function is not supported in
   older PHP versions.
 * Unfortunately I cannot upgrade my PHP to the latest version. Would it be possible
   to rewrite the ldap_slashes() function so that the preg_replace_callback() does
   not use an anonymous function, so it is compatible with earlier versions of PHP.
   ie PHP 5.2.9
 * Cheers
    John

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Parse error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/active-directory-integration_e2ecae.
   svg)
 * [Active Directory Integration](https://wordpress.org/plugins/active-directory-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/active-directory-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/active-directory-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/active-directory-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/active-directory-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/active-directory-integration/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [John Clarke](https://wordpress.org/support/users/john-clarke/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/parse-error-320/#post-6064634)
 * Status: not resolved