How to optimize phpBB2?
This tutorial will show you how to optimize your phpBB2 forum. You may also take a look at our Converting from phpBB2 to phpBB3 tutorial. We recommend upgrading to phpBB3 because the new version offers many new features and enhanced security.
How to optimize your phpBB2 forum
There are several things you can do to optimize the performance of your phpBB2-based message board.
You should do everything possible to prevent spam bots from registering and posting in your forum. If spam bots manage to register and start posting spam topics/replies, this will signifficantly increase the size of your forum database. This, in turn, will slow down your entire forum.
To prevent your forum from being overrun by spam bots, you should log in to your forum's admin area and click on the "Configuration" link in the left menu. There set the following settings:
- Enable Visual Confirmation - Yes: This will enable CAPTCHA for users who want to register in your forum;
- Flood Interval - set this option to at least 60 seconds. It defines the number of seconds a user must wait before posting again;
- Search Flood Interval - set this option to at least 60 seconds. It defines the number of seconds a user must wait between search requests;
- Enable Forum Pruning - Yes. This option will enable the pruning functionality of the phpBB2 forum. This means that you will be able to delete old topics if there is no reply in them for some period of time.
Disable the search function for guests and allow it only for registered users. Information on how to do this can be found in this article.
Do not add extra mods unless you really need them. Many forum plugins cause high server load and increase the size of your database.
If you have a large forum with thousands of members, you could try implementing the tweaks described in this topic.
Optimize your phpBB database by following the instructions in our article on How to optimize a MySQL database.