Manual:Install.php/en

Details
install.php file is a CLI-based maintenance script for the MediaWiki installation and configuration.

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

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: