安装TCExam经验
考試系統(tǒng)TCExam是基于php/mysql平臺,安裝時出現(xiàn)錯誤,找了許多資料,暫且在這里做一個記錄。
一:安裝LAMP,啟動http,mysql,并設(shè)置數(shù)據(jù)庫密碼
二、建立一個數(shù)據(jù)庫,這里建立tcexam
安裝TCexam:
1.首先下載? https://github.com/tecnickcom/tcexam/
2.解壓下載之后文件名為 tcexam master .zip,用unzip解壓并改名為 tcexam;
3.mv tcexam 到/var/www 并修改權(quán)限:
chmod -R 777 /var/www/tcexam
vim /etc/php5/apache2/php.ini
date.timezone = Asia/Shanghai ;
arg_separator.output = "&"
magic_quotes_gpc = On
magic_quotes_runtime = Off
magic_quotes_sybase = Off
request_order = "GPC"
vim /etc/apache2/httpd.conf
AddDefaultCharset UTF-8
php_value arg_separator.output "&"
php_value magic_quotes_gpc On
php_value magic_quotes_runtime Off
php_value magic_quotes_sybase Off
php_value request_order "GPC"
三、安裝時出現(xiàn)錯誤
1、————————————
start process tce_db_config.php file:
open file.................[ERROR]
end process tce_db_config.php file
start process tce_paths.php file:
open file.................[ERROR]
——————解決——————————
mv /var/www/tcexam/shared/config.default /var/www/tcexam/shared/config
mv /var/www/tcexam/public/config.default /var/www/tcexam/public/config
mv /var/www/tcexam/admin/config.default /var/www/tcexam/admin/config
2、導(dǎo)入數(shù)據(jù)庫,先后順序
3、安裝時下面兩個選項去掉
4、給網(wǎng)站目錄完全權(quán)限,chmod -R 777 tcexam
轉(zhuǎn)載于:https://blog.51cto.com/793906/2363637
總結(jié)
以上是生活随笔為你收集整理的安装TCExam经验的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 如何通过换手率选股票,要考虑股票的实际情
- 下一篇: 团体意外险和雇主责任险的区别,有以下5点