Warning!

";
print "

";
print "

One or more of the above directories must be made writeable by the webserver.";
print "Please chmod 777 directory-name or chown that directory to the user the web server runs as (usually nobody, apache, or www-data)";
print "Refresh this page when you're done!

Warning! .htaccess already exists.

";
print "

";
print "

A file with the name '.htaccess' already exists in this directory and I cannot write to it. Please ftp to the server and delete this file from this directory!";
print "Offending file: " . realpath( '.htaccess' ) . "

";
print "

";
}
return $ret;
}
function step1() {
print "

Welcome to WPMU

";
print "

Please make sure mod_rewrite is installed as it will be activated at the end of this install.

If mod_rewrite is disabled ask your administrator to enable that module, or look at the Apache documentation or elsewhere for help setting it up.

Virtual Server Support

Each blog on your site will have their own hostname or 'sub domain'. Your blog addresses will appear like http://joesblog.example.com/ instead of http://www.example.com/joesblog/ but you need to do a few more things to Apache and your DNS settings before it'll work.

Apache will have to have a wildcard alias configured in the virtual server definition of your server. You'll have to add a wildcard DNS record for your domain too. That's usually as easy as adding a * hostname in your online dns software.

Database

We need some information on the database. You will need to know the following items before proceeding.

Database name

Database username

Database password

Database host

Table prefix (if you want to run more than one WordPress in a single database)

If for any reason this automatic file creation doesn't work, don't worry. All this does is fill in the database information to a configuration file. You may also simply open wp-config-sample.php in a text editor, fill in your information, and save it as wp-config.php.