When using the PHP built-in webserver with maintenance/dev/start.sh,
requests made to regular files do show in the console output but
requests to .php files do not log anything in the console. It is a bit
annoying since one is left wondering whether the requests are actually
honored.
The reason is the request router maintenance/dev/includes/router.php
does a require of the PHP file and abort the router (return true). That
causes the built-in php server to not produce the access log requests.
Based on the comment note, some earlier PHP version had POST data
stripped preventing login. The related upstream bug is
https://bugs.php.net/bug.php?id=60159:
"Router returns false, but POST is not passed to requested resource"
|
||
|---|---|---|
| .. | ||
| includes | ||
| install.sh | ||
| installmw.sh | ||
| installphp.sh | ||
| README | ||
| start.sh | ||
maintenance/dev/ scripts can help quickly setup a local MediaWiki for development purposes. Wikis setup in this way are NOT meant to be publicly available. They use a development database not acceptable for use in production. Place a sqlite database in an unsafe location a real wiki should never place it in. And use predictable default logins for the initial administrator user. Running maintenance/dev/install.sh will download and install a local copy of php 5.6, install a sqlite powered instance of MW for development, and then start up a local webserver to view the wiki. After installation you can bring the webserver back up at any time you want with maintenance/dev/start.sh