Looking for vBulletin alternatives (self hosted)

Well this is tricky. Discourse is not a LAMP app, so that will be different. However, that is the reason of Docker, all the Discourse stack is confined to the container image so you don’t need to install anything else on the host. Changing the default install to listen to a unix socket (so you can use your reverse proxy at domain.com and proxy requests to /community to the socket) is just a couple of lines of configuration.

Not sure what is WPO but Discourse ranks great on search engines out of the box, as long as you have actual content on the forum.

As long as those tools can handle a webhook, or you can quickly write a translation layer in your LAMP app it’s an easy task.

Every category can have different permissions, this is a basic feature.

Discourse is a “Single Page Application” so if you want more deep customization you will need to write JS code. However, there is a lot you can do with just HTML+CSS, so you it depends more on what is your expectation.