Bugzilla和Mantis安装部署

Bugzilla 部署步骤有的小麻烦,但Mantis部署很简单,下载包,数据库设置按部就班就可以了。 这里记录一些安装中的问题: 1.Mantis 配置文件config_inc.php,需要修改的内容: 数据库配置: $g_hostname = ‘localhost’; $g_db_type = ‘mysql’; $g_database_name = ‘jaguardb’; $g_db_username = ‘dbusr’; $g_db_password = ‘xxxxxxx’; 配置时区: $g_default_timezone = ‘Asia/Shanghai’; 否则出现:SYSTEM WARNING: ‘date_default_timezone_get(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() […]

Continue Reading

Mac OSX配置部署Apache+php+mysql

Mac OSX 系统本身已经集成apache,php,perl,因此只要更改一些配置,另外mysql需要安装。 1.启动Apache     sudo apachectl start 配置文件的位置:/private/etc/apache2/httpd.conf 关注这里。访问http://localhost网站根目录:index.html.en首页文件。 DocumentRoot “/Library/WebServer/Documents” 我的MAC原来10.6,一步一步(10.7-10.8)现已经升级至10.9.2用户目录下本身已经存在Sites目录(用户文件目录)和网页文件。为了可以直接访问用户目录下得网站目录Sites: 建立软链接:   sudo ln –sf  /Users/wangzhe/Sites /Library/WebServer/Documents/Sites 在httpd.conf  添加: <Directory “/Users/wangzhe/Sites”> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> 或者在/private/etc/apache2/httpd.conf 加上 Include /private/etc/apache2/users/*.conf 访问出现:403 Forbidden. You don’t have permission to access /Sites on […]

Continue Reading