How to Install Question2Answer – A free and open source platform for Q&A sites
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.
- Download the latest version of Question2Answer to your computer or web server.
- Unzip the download using a tool such as WinZip (or
unzipin the Unix shell). - 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-langfolder. If not, it’s simple to translate Question2Answer for yourself. - 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 - 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
127.0.0.1orlocalhost. - Find
qa-config-example.phpin the unzippedquestion2answerfolder, and rename it toqa-config.php. - Open
qa-config.phpin 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. - 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.
http://www.mysite.com/), move or upload all the contents of the unzippedquestion2answerfolder into the root directory for that domain on your web server. - To serve Question2Answer in a subdirectory of a site (e.g.
http://www.mysite.com/qa/), create the subdirectory inside the root directory for the site, then move or upload all the contents of the unzippedquestion2answerfolder into this subdirectory.
- To serve Question2Answer at the root of a domain (e.g.
- Open the appropriate web page for Question2Answer in your web browser, for example:
- If you installed Question2Answer at the root of a domain,
http://www.mysite.com/ - If you installed Question2Answer in a subdirectory,
http://www.mysite.com/qa/
- If you installed Question2Answer at the root of a domain,
- Follow the on-screen instructions to set up your database and administrator account. That’s it!
Gishore James
Manager Technology at Quikr
I am a highly successful, competent team member with a background of extensive hands-on project implementation experience. My success has been both internal to the companies to which I’ve contributed and external to clients and customers.Having the knowledge of setting up efficient & cost effective technology solutions, internet innovations, large scale IT implementations, helps me to find out the unique one in the way of my career.
Latest posts by Gishore James (see all)
- Microsoft Office for iPhone – Changing Strategy of Microsoft - June 16, 2013
- Guidelines for International websites from Google - June 13, 2013
- Google is to Change the rankings of smartphone search results - June 12, 2013
