Title: Older PHP problems
Last modified: August 21, 2016

---

# Older PHP problems

 *  [synaan](https://wordpress.org/support/users/synaan/)
 * (@synaan)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/older-php-problems/)
 * I’ve had problems getting the plugin to work on an older version of PHP so I 
   made a few changes in the code.
 * I’m guessing this is not of worth to the author really, but might be of some 
   use to someone who, like me, for some reason is stuck with PHP < 5.3.0 which 
   lacks support for anonymous functions and namespaces, which were the problem 
   in this case.
 * Tested with:
    Wordpress: 3.6 PHP: 5.2.6
 * Anyways, the code that replaces wp-fail2ban.php can be found at:
    [http://pastebin.com/qLCtmMwz](http://pastebin.com/qLCtmMwz)
 * Thanks for a great plugin btw!
 * [http://wordpress.org/plugins/wp-fail2ban/](http://wordpress.org/plugins/wp-fail2ban/)

The topic ‘Older PHP problems’ is closed to new replies.

 * ![](https://ps.w.org/wp-fail2ban/assets/icon-256x256.png?rev=2814701)
 * [WP fail2ban - Advanced Security](https://wordpress.org/plugins/wp-fail2ban/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-fail2ban/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-fail2ban/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-fail2ban/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-fail2ban/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-fail2ban/reviews/)

## Tags

 * [activate](https://wordpress.org/support/topic-tag/activate/)
 * [old](https://wordpress.org/support/topic-tag/old/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)

 * 0 replies
 * 1 participant
 * Last reply from: [synaan](https://wordpress.org/support/users/synaan/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/older-php-problems/)
 * Status: not resolved