Manual:Install.php/en

Details
install.php file is a CLI-based maintenance script for installing and configuring MediaWiki.

This script creates a new LocalSettings.php. It will abort if a  file exists already, and it can't read existing settings from that file.

Usage
php install.php [--conf|--confpath|--dbgroupdefault|--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|--skins|--wiki|--with-extensions] &lt;name&gt; &lt;admin&gt;

The tables below explain the various options and arguments. The default values for the options are indicated in parentheses.

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: