The instructions below are for installing Question2Answer where it manages user accounts and logins for you. If you would like Question2Answer to integrate with your existing user database and account system (single sign-on), see the advanced installation.

  1. Download the latest version of Question2Answer to your computer or web server.
  2. Unzip the download using a tool such as WinZip (or unzip in the Unix shell).
  3. If you want to run a non-English site, check if the appropriate language file is available. If so, download and install it in the qa-lang folder. If not, it’s simple to translate Question2Answer for yourself.
  4. Create a MySQL database, and a MySQL user with full permissions for that database.
    If you’re interested, the privileges actually needed are: CREATE, ALTER, DELETE, INSERT, SELECT, UPDATE, LOCK TABLES
  5. Note down the MySQL details: username, password, database name and server host name. If MySQL is running on the same server as your website, the server host name is likely to be or localhost.
  6. Find qa-config-example.php in the unzipped question2answer folder, and rename it to qa-config.php.
  7. Open qa-config.php in your text editor, insert the MySQL details at the top, and save the file. Do not use a word processor such as Microsoft Word for this, but rather Notepad or another appropriate text editing program.
  8. Place all the Question2Answer files (including .htaccess) in the appropriate location on your web server:
    • To serve Question2Answer at the root of a domain (e.g., move or upload all the contents of the unzipped question2answer folder into the root directory for that domain on your web server.
    • To serve Question2Answer in a subdirectory of a site (e.g., create the subdirectory inside the root directory for the site, then move or upload all the contents of the unzipped question2answer folder into this subdirectory.
  9. Open the appropriate web page for Question2Answer in your web browser, for example:
    • If you installed Question2Answer at the root of a domain,
    • If you installed Question2Answer in a subdirectory,
  10. Follow the on-screen instructions to set up your database and administrator account. That’s it!

Post By Gishore J Kallarackal (2,121 Posts)

Gishore J Kallarackal is the founder of techgurulive. The purpose of this site is to share information about free resources that techies can use for reference. You can follow me on the social web, subscribe to the RSS Feed or sign up for the email newsletter for your daily dose of tech tips & tutorials. You can content me via @twitter or e-mail.

Website: → Techgurulive