{"id":1565,"date":"2014-03-29T23:00:45","date_gmt":"2014-03-29T15:00:45","guid":{"rendered":"http:\/\/www.gejoin.com\/?p=1565"},"modified":"2014-03-29T23:00:45","modified_gmt":"2014-03-29T15:00:45","slug":"bugzilla%e5%92%8cmantis%e5%ae%89%e8%a3%85%e9%83%a8%e7%bd%b2","status":"publish","type":"post","link":"https:\/\/www.mujins.com\/?p=1565","title":{"rendered":"Bugzilla\u548cMantis\u5b89\u88c5\u90e8\u7f72"},"content":{"rendered":"<p>Bugzilla \u90e8\u7f72\u6b65\u9aa4\u6709\u7684\u5c0f\u9ebb\u70e6\uff0c\u4f46Mantis\u90e8\u7f72\u5f88\u7b80\u5355\uff0c\u4e0b\u8f7d\u5305\uff0c\u6570\u636e\u5e93\u8bbe\u7f6e\u6309\u90e8\u5c31\u73ed\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p>\u8fd9\u91cc\u8bb0\u5f55\u4e00\u4e9b\u5b89\u88c5\u4e2d\u7684\u95ee\u9898\uff1a<\/p>\n<p><a href=\"https:\/\/www.gigiwangs.com\/wp-content\/uploads\/2014\/03\/mantis.png\" data-lightbox=\"gal[1565]\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-1566\" alt=\"mantis\" src=\"https:\/\/www.gigiwangs.com\/wp-content\/uploads\/2014\/03\/mantis.png\" width=\"232\" height=\"80\" \/><\/a>1.Mantis \u914d\u7f6e\u6587\u4ef6config_inc.php,\u9700\u8981\u4fee\u6539\u7684\u5185\u5bb9:<br \/>\n\u6570\u636e\u5e93\u914d\u7f6e:<br \/>\n$g_hostname = &#8216;localhost&#8217;;<br \/>\n$g_db_type = &#8216;mysql&#8217;;<br \/>\n$g_database_name = &#8216;jaguardb&#8217;;<br \/>\n$g_db_username = &#8216;dbusr&#8217;;<br \/>\n$g_db_password = &#8216;xxxxxxx&#8217;;<\/p>\n<p>\u914d\u7f6e\u65f6\u533a:<br \/>\n$g_default_timezone = &#8216;Asia\/Shanghai&#8217;;<br \/>\n\u5426\u5219\u51fa\u73b0\uff1a<span style=\"color: #ff6600;\">SYSTEM WARNING: &#8216;date_default_timezone_get(): It is not safe to rely on the system&#8217;s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.<\/span><\/p>\n<p>2.Bugzilla \u5b89\u88c5\u914d\u7f6e<\/p>\n<p><a href=\"https:\/\/www.gigiwangs.com\/wp-content\/uploads\/2014\/03\/bugzilla.jpg\" data-lightbox=\"gal[1565]\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-1567\" alt=\"bugzilla\" src=\"https:\/\/www.gigiwangs.com\/wp-content\/uploads\/2014\/03\/bugzilla.jpg\" width=\"600\" height=\"344\" \/><\/a><\/p>\n<p>1.\u5b89\u88c5perl\u6a21\u5757<br \/>\n\u68c0\u67e5\u4f9d\u8d56\u7684CPAN\u5305\u6a21\u5757:sudo perl checksetup.pl,\u8fdb\u884c\u5b89\u88c5<br \/>\nsudo perl install-module.pl\u00a0 &#8211;all<br \/>\n\u62a5\u9519:\u00a0<span style=\"color: #ff6600;\"><em>install_driver(mysql) failed: Attempt to reload DBD\/mysql.pm aborted. Compilation failed in require at (eval 1231) line 3, &lt;DATA&gt; line 577.<\/em><\/span><\/p>\n<pre><strong>sudo ln -s \/usr\/local\/mysql\/lib\/<wbr><\/wbr>libmysqlclient.18.dylib\u00a0 \/usr\/lib\/libmysqlclient.18.dylib<\/strong><\/pre>\n<p>2.\u914d\u7f6elocalconfig\u914d\u7f6e\u6587\u4ef6<br \/>\n$db_driver = &#8216;mysql&#8217;;<br \/>\n$db_host = &#8216;localhost&#8217;;<br \/>\n$db_name = &#8216;bugszilla&#8217;;<br \/>\n$db_user = &#8216;dbusr&#8217;;<br \/>\n$db_pass = &#8216;acbxxxxxxx&#8217;;<br \/>\n3.\u914d\u7f6eApache\u6587\u4ef6\/etc\/apache2\/httpd.conf<\/p>\n<p>&lt;Directory &#8220;\/Library\/WebServer\/Documents\/bugzilla&#8221;&gt;<br \/>\nOptions ExecCGI FollowSymLinks<br \/>\nAddHandler cgi-script .cgi<br \/>\nDirectoryIndex index.html index.html.var index.cgi<br \/>\norder deny,allow<br \/>\nAllow from all<br \/>\n&lt;\/Directory&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bugzilla \u90e8\u7f72\u6b65\u9aa4\u6709\u7684\u5c0f\u9ebb\u70e6\uff0c\u4f46Mantis\u90e8\u7f72\u5f88\u7b80\u5355\uff0c\u4e0b\u8f7d\u5305\uff0c\u6570\u636e\u5e93\u8bbe\u7f6e\u6309\u90e8\u5c31\u73ed\u5c31\u53ef\u4ee5\u4e86\u3002 \u8fd9\u91cc\u8bb0\u5f55\u4e00\u4e9b\u5b89\u88c5\u4e2d\u7684\u95ee\u9898\uff1a 1.Mantis \u914d\u7f6e\u6587\u4ef6config_inc.php,\u9700\u8981\u4fee\u6539\u7684\u5185\u5bb9: \u6570\u636e\u5e93\u914d\u7f6e: $g_hostname = &#8216;localhost&#8217;; $g_db_type = &#8216;mysql&#8217;; $g_database_name = &#8216;jaguardb&#8217;; $g_db_username = &#8216;dbusr&#8217;; $g_db_password = &#8216;xxxxxxx&#8217;; \u914d\u7f6e\u65f6\u533a: $g_default_timezone = &#8216;Asia\/Shanghai&#8217;; \u5426\u5219\u51fa\u73b0\uff1aSYSTEM WARNING: &#8216;date_default_timezone_get(): It is not safe to rely on the system&#8217;s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1567,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[31,4,5],"tags":[11,13],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.mujins.com\/index.php?rest_route=\/wp\/v2\/posts\/1565"}],"collection":[{"href":"https:\/\/www.mujins.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mujins.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mujins.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mujins.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1565"}],"version-history":[{"count":0,"href":"https:\/\/www.mujins.com\/index.php?rest_route=\/wp\/v2\/posts\/1565\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mujins.com\/index.php?rest_route=\/"}],"wp:attachment":[{"href":"https:\/\/www.mujins.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mujins.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mujins.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}