設置Question2Answer我已經安裝在我的電腦WAMP的服務器。上WAMP
Apache的版本:2.2.17
PHP版本:5.3.5
的MySQL版本:5.5.8
現在我想在這WAMP部署Question2Answer。 http://www.question2answer.org/install.php
我也做了如下 - 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)
提取在解壓縮後的文件夾question2answer拉鍊
QA-CONFIG-使用example.php,並改名它QA-config.php文件
改變後,
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) 拷貝整個文件夾 「question2answer」 到
C:\wamp\www
但是當我嘗試
http://localhost/question2answer
在我的瀏覽器
它顯示像
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] 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.
一些錯誤
我究竟做錯了什麼?
仍然沒有工作 – shababhsiddique 2011-05-19 17:18:22
@shababhsiddique沖水特權;將工作。我只是在我的系統上安裝了這個,並且工作正常。 – Tareq 2011-05-19 17:25:35
仍然收到同樣的問題..你可以通過stp指令發佈一個stp你怎樣設置Question2Answer? – shababhsiddique 2011-05-19 17:57:58