标签:httpd asi admin 修改权限 mysql 完全 lam timezone www
考试系统TCExam是基于php/mysql平台,安装时出现错误,找了许多资料,暂且在这里做一个记录。1.首先下载? https://github.com/tecnickcom/tcexam/
2.解压下载之后文件名为 tcexam master .zip,用unzip解压并改名为 tcexam;
3.mv tcexam 到/var/www 并修改权限:
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"
三、安装时出现错误
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、导入数据库,先后顺序
3、安装时下面两个选项去掉
4、给网站目录完全权限,chmod -R 777 tcexam
标签:httpd asi admin 修改权限 mysql 完全 lam timezone www
原文地址:https://blog.51cto.com/793906/2363637