Linux安全网 - Linux操作系统_Linux 命令_Linux教程_Linux黑客

会员投稿 投稿指南 本期推荐: 强烈推荐:Ylmf OS 3.0 正式版发布附迅雷高 XP系统下硬盘安装Fedora 14图文教程
搜索:
您的位置: Linux安全网 > Linux入门 > » 正文

winXp的Bugfree安装

来源: nightstar911011 分享至:

winXp的Bugfree安装

说明:此方法用于winxp与win2003下的Apach+php/' target='_blank'>PHP+Mysql+Bugfree的安装

软件准备:xampp、bugfree

1)首先安装xampp,选择路径,然后一路向下,直到安装完毕。   2)打开xampp后,apach,mysql前面打钩,点击start。等start按钮前出现Runing的字样,说明apach和mysql已经正常启动了。   3)解压缩bugfree压缩包,把bugfree文件夹放到\xampp\htdocs下   4)复制Include/Config.inc.sample.php为Include/Config.inc.php,并且修改Config.inc.php的配置文件。   5)然后在游览器里输入:http://localhost/,出现Xampp的界面。 可能会出现出现以下错误: Access forbidden!  New XAMPP security concept: Access to the requested directory is only available from the local network. This setting can be configured in the file "httpd-xampp.conf". 解决方法:此时需要更改配置文件:x盘:\xampp\apache\conf\extra\httpd-xampp.conf 找到以下内容 # New XAMPP security concept # Order deny,allow Deny from all Allow from ::1 127.0.0.0/8 \ fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \ 81.196.40.94/32 ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var 将Deny from all这一行注释掉,即 #Deny from all (要注释掉的Deny from all有2个地方,修改后还需要重启apache)   6)选中欢迎界面中的"中文"选项,看到提示: “祝贺您,您已经成功安装了XAMPP!"   7)然后再输入http://localhost/bugfree,系统提示:数据库连接失败。   8)点击创建数据库--->继续安装---->点击全新的Bugfree2--->提示安装成功 此时可能会出现如下错误:

Errror
ERROR OCCUR TO /bugfree/install.php:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM DEFAULT CHARSET=UTF8' at line 54

解决方法: 修改 C:\xampp\htdocs\bugfree\Schema.php文件中所有的 TYPE=MyISAM 改为 ENGINE=MyISAM,这是因为MYSQL高版本不再使用TYPE=MyISAM 的原因。   9)点击进入,可能会出现如下错误: Deprecated: Call-time pass-by-reference has been deprecated in I:\xampp\htdocs\bugfree\Include\Class\XmlParse.class.php on line 46

Deprecated: Call-time pass-by-reference has been deprecated in I:\xampp\htdocs\bugfree\Include\Class\XmlParse.class.php on line 47

Deprecated: Call-time pass-by-reference has been deprecated in I:\xampp\htdocs\bugfree\Include\Class\XmlParse.class.php on line 47

Deprecated: Call-time pass-by-reference has been deprecated in I:\xampp\htdocs\bugfree\Include\Class\XmlParse.class.php on line 48

Deprecated: Call-time pass-by-reference has been deprecated in I:\xampp\htdocs\bugfree\Include\Class\XmlParse.class.php on line 49

Deprecated: Call-time pass-by-reference has been deprecated in I:\xampp\htdocs\bugfree\Include\Class\XmlParse.class.php on line 51

Deprecated: Call-time pass-by-reference has been deprecated in I:\xampp\htdocs\bugfree\Include\Class\XmlParse.class.php on line 56

Deprecated: Call-time pass-by-reference has been deprecated in I:\xampp\htdocs\bugfree\Include\Class\XmlParse.class.php on line 56

解决方法:

找到你的xampp\php\php.ini配置文件,把其中的 allow_call_time_pass_reference参数调整为true(其中一行后面没有参数,无需修改),并重启Apach服务


Tags:
分享至:
最新图文资讯
1 2 3 4 5 6
验证码:点击我更换图片 理智评论文明上网,拒绝恶意谩骂 用户名:
关于我们 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 发展历史