MediaWiki-Vagrant: Difference between revisions

add DNS section, update intro
provide more info on the architectural issues that are current
Line 9: Line 9:
[[File:MediaWiki-Vagrant.screenshot.png | thumb | screenshot showing aspects of the MediaWiki-Vagrant system]]
[[File:MediaWiki-Vagrant.screenshot.png | thumb | screenshot showing aspects of the MediaWiki-Vagrant system]]


== Engineering / Architecture ==
MediaWiki-Vagrant runs on <strike>HHVM</strike><ref>[[mw:HHVM]]</ref><ref>Facecrook announced in Sept. 2017 that HHVM would not aim for PHP compatibility in the future.[https://hhvm.com/blog/2017/09/18/the-future-of-hhvm.html 1] After discussion[https://lists.wikimedia.org/pipermail/wikitech-l/2017-September/088784.html 2] WMF adopted a plan to [https://phabricator.wikimedia.org/T176370 migrate the WMF production cluster to PHP 7], first [https://phabricator.wikimedia.org/T174431 migrating appservers from Jessie to Stretch]. Once that's done, HHVM support will likely be dropped from MediaWiki (exact details tbd). See [https://phabricator.wikimedia.org/T176209 task T176209].</ref> PHP7-FPM with Apache etc. Of course it all relies on [[Vagrant]] and [[VirtualBox]]
Meanwhile, current versions of [[VirtualBox]] have [https://www.virtualbox.org/ticket/17490 problems with running Guest Additions on Linux]. This is but one ticket. There are tons of examples of breakage, and fixes haven't landed yet in a stable release.  Current solution: run development? (I'm checking on compatibility)


== Quick Tips ==
== Quick Tips ==
Be sure to check the documentation at [[mw:MediaWiki-Vagrant]]
Be sure to check the documentation at [[mw:MediaWiki-Vagrant]]


MediaWiki-Vagrant runs on <strike>HHVM</strike><ref>Facecrook announced in Sept. 2017 that HHVM would not aim for PHP compatibility in the future.[1] After discussion[2] WMF adopted a plan to migrate the WMF production cluster to PHP 7. Once that's done, HHVM support will likely be dropped from MediaWiki (exact details tbd). See task T176209.</ref> PHP7-FPM with Apache etc.
<code>vagrant list roles </code> To enable certain roles in your MediaWiki Vagrant: <code>vagrant roles enable <role> && vagrant provision</code>  Once you do this, and visit http://localhost:8080/wiki/Special:Version, you can check the product box showing the currently running versions of 'MediaWiki, PHP, MySQL, ICU' and extensions.
 
To enable certain roles in your MediaWiki Vagrant: <code>vagrant roles enable <role> && vagrant provision</code>  Once you do this, and visit http://localhost:8080/wiki/Special:Version, you can check the product box showing the currently running versions of 'MediaWiki, PHP, MySQL, ICU' and extensions.


== DNS ==
== DNS ==