Configuration to block IP addresses probing your web server for PHP-based database admin tools.
/etc/fail2ban/filter.d/phpmyadmin.conf:
# Fail2Ban configuration file
#
# Check Apache logs for attempts to access PHP admin tools
#
[Definition]
# Option: failregex
# Notes.: regex to match the 404'ed PMA file in the logfile. The
# host must be matched by a group named "host". The tag "" can
# be used for standard IP/hostname matching and is only an alias for
# (?:::f{4,6}:)?(?P\S+)
# Values: TEXT