我是用freebsd8.1 I386的系统安装FAMP5.1.3的,安装后就开通了一个站点测试,一开始安装都还顺利,没什么大问题,之后呢,也许是我手贱吧,我看到后台有nginx,我就点了下把apache换成了nginx,结果,站点访问不到了,于是乎我就赶快再换回apache,然后站点可以访问了,但是FAMP后台杯具了,“502 Bad Gateway”错误了,欲哭无泪,赶紧重启服务器,重启后好了,站点可以访问了,但是又一个怪问题出现了,我一个站点设置了2个域名,www.qunpai.net 域名访问到排名第一的空间去了,而 http://qunpai.net/ 则是访问我绑定的空间,我疑惑不解!
再之后测试子站点,建了了个子站目录,然后上传系统准备安装,结果又出错了:
Warning: Unknown: open_basedir restriction in effect. File(/home/ftp/freddy_1/wwwroot/8090/index.php) is not within the allowed path(s): (/home/ftp/freddy_8090/:/tmp/:/var/tmp/) in Unknown on line 0
Fatal error: Can't load /home/ftp/freddy_1/wwwroot/8090/index.php, open_basedir restriction. in Unknown on line 0