For the next MW LTS release we'd like to have a VisualEditor work "out of the box" with just PHP code on the server. This won't be the setup we use in production (except perhaps for wikitech, see T241961) but will be a reasonable set up for small wikis.
This is a tracker bug for the work required.
FIXME: create subtasks. Probably at least: (1) updates to VirtualRestService code in MediaWiki core to have VE talk to Parsoid via the internal library API instead of a HTTP API, and (2) documentation updates.