I am currently running the latest master branch of MediaWiki and is trying to set up VisualEditor for development. However, since Parsoid switch to PHP starting 1.35, a lot of the current instructions become outdated as they are focusing on the Parsoid/JS. I tried the following [[ https://www.mediawiki.org/wiki/Parsoid/Developer_Setup | Parsoid/PHP#Developer_Setup ]], which results in VisualEditor displaying error HTTP 500 of not being able to connect to Restbase. When visiting the rest.php page, it displays a 404 error, which can be a result of requiring header added by [[ https://gerrit.wikimedia.org/r/c/552088 | Gerrit patch 552088 ]].
I am confused as T248343 suggests that VE should be working out of the box, meaning no need to set up the RestBase server. Even I want to set up a RestBase server, the current instructor requires me to know the Parsoid/PHP’s server address, which I do not know since Parsoid/PHP becomes an MW instance. As T248319 indicates, there is currently no instruction of how to setup RestBase with Parsoid/PHP.
As [[ https://www.reddit.com/r/mediawiki/comments/gtr3eu/getting_parsoidphp_and_v135_to_work_rest_api_not/ | someone else on reddit ]] also indicating the same issue for installing 1.35, adding #mw-1.35-release.