Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
632 views
in Q2A Core by

 

Hi.. 
I have WAMP server installed in my PC. 
 
Apache Version :  2.2.17  
PHP Version :  5.3.5  
MySQL Version :  5.5.8   
 
Now i want to deploy the Question2Answer on this wamp.
 
I have done the follows-
1)
 
    CREATE USER 'masterqa'@'localhost' IDENTIFIED BY '***';
    
    GRANT ALL PRIVILEGES ON * . * TO 'masterqa'@'localhost' IDENTIFIED BY '***' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;
    
    CREATE DATABASE IF NOT EXISTS `masterqa` ;
    
    GRANT ALL PRIVILEGES ON `masterqa` . * TO 'masterqa'@'localhost';
 
 
2)
 
Extracted the zip
 
qa-config-example.php in the unzipped question2answer folder, and renamed it to qa-config.php
 
Changed the following 
 
 
 
    define('QA_MYSQL_HOSTNAME', '127.0.0.1'); // try '127.0.0.1' or 'localhost' if MySQL on same server
     define('QA_MYSQL_USERNAME', 'masterqa');
     define('QA_MYSQL_PASSWORD', 'open');
     define('QA_MYSQL_DATABASE', 'masterqa');
 
 
 
 
3) 
copied the entire folder "question2answer" to the 
 
    C:\wamp\www
 
 
 
but when i try
 
    http://localhost/question2answer 
 
on my browser it shows some error like
 
    Internal Server Error
    
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    
    Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    
    More information about this error may be available in the server error log.
 
 
What am i doing wrong?
by
are you using the .htaccess file?

1 Answer

0 votes
by

angelوتست و تست و تست و تست تست

...