Manual:Install.php

Details
install.php file is a CLI-based maint-scripts>Special:MyLanguage/Manual:Maintenance scripts|maintenance script for the MediaWiki mwinstall>Special:MyLanguage/Manual:Installing MediaWiki|installation and configuration.

Usage
Default options are indicated in parentheses: php install.php [--conf|--confpath|--dbname|--dbpass|--dbpassfile|--dbpath|--dbport|--dbprefix|--dbschema|--dbserver|--dbtype|--dbuser|--env-checks|--globals|--help|--installdbpass|--installdbuser|--lang|--memory-limit|--pass|--passfile|--profiler|--quiet|--scriptpath|--server|--wiki] [name] &lt;admin>

Examples
Set up wiki using a user with required permissions in database to create a new database for the wiki and a user to operate the wiki: