{"id":5576,"date":"2016-04-09T21:32:53","date_gmt":"2016-04-09T12:32:53","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=5576"},"modified":"2016-04-09T21:32:53","modified_gmt":"2016-04-09T12:32:53","slug":"php-7-disaster","status":"publish","type":"post","link":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=5576","title":{"rendered":"PHP 7 disaster"},"content":{"rendered":"<p>&#12381;&#12429;&#12381;&#12429;&#65292;PHP 7&#12363;&#12394;&#12392;&#24605;&#12356;&#65292;build&#12375;&#12390;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12375;&#12390;&#12415;&#12414;&#12375;&#12383;&#12364;&#65292;httpd&#12364;segfault <sup class=\"modern-footnotes-footnote \" data-mfn=\"1\" data-mfn-post-scope=\"000000000000031f0000000000000000_5576\"><a href=\"javascript:void(0)\" role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-000000000000031f0000000000000000_5576-1\">1<\/a><\/sup><span id=\"mfn-content-000000000000031f0000000000000000_5576-1\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"1\">Segmentation fault.<\/span>&#12434;&#36215;&#12371;&#12375;&#12390;&#65292;&#21205;&#12356;&#12390;&#12367;&#12428;&#12414;&#12379;&#12435;&#65294;<\/p>\n<p>&#20181;&#26041;&#12364;&#12394;&#12356;&#12398;&#12391;&#65292;&#24467;&#21069;&#12398;php-5.6.20&#12395;&#25147;&#12381;&#12358;&#12392;&#12375;&#12414;&#12375;&#12383;&#12364;&#65292;httpd&#12392;php&#12364;&#21205;&#12363;&#12394;&#12356;&#12398;&#12391;&#12377;&#12364;&#65292;&#12381;&#12398;&#36794;&#12398;&#12494;&#12454;&#12495;&#12454;&#12399;&#12377;&#12409;&#12390;&#38750;&#20844;&#38283;&#12398;&#33258;&#20998;&#29992;&#12513;&#12514;&#12398;Wiki&#12395;&#35352;&#12375;&#12390;&#12354;&#12427;&#12383;&#12417;&#65292;httpd+php&#12364;&#21205;&#12363;&#12394;&#12356;&#12392;&#30906;&#35469;&#12391;&#12365;&#12414;&#12379;&#12435;^^; Slackware&#12398;SlackBuild&#12473;&#12463;&#12522;&#12503;&#12488;&#12391;build&#12377;&#12427;&#12375;&#12363;&#12354;&#12426;&#12414;&#12379;&#12435;&#65294;<\/p>\n<p>&#12411;&#12363;&#12395;&#12418;&#65292;libgcrypt, libmcrypt, afpd (Netatalk)&#12394;&#12393;&#12364;&#22793;&#12394;&#12456;&#12521;&#12540;&#12434;&#20986;&#12375;&#12390;&#12356;&#12414;&#12377;&#65294;&#12383;&#12406;&#12435;&#65292;&#20808;&#26085;&#65292;Slackware&#12398;Security&#24773;&#22577;&#12395;&#22522;&#12389;&#12356;&#12390;&#65292;&#12414;&#12392;&#12417;&#12390;&#12521;&#12452;&#12502;&#12521;&#12522;&#12540;&#12394;&#12393;&#12434;update&#12375;&#12390;&#65292;&#20381;&#23384;&#24615;&#12364;&#30772;&#32187;&#12375;&#12390;&#12356;&#12427;&#12398;&#12384;&#12392;&#24605;&#12356;&#12414;&#12377;^^;<\/p>\n<p>&#12394;&#12435;&#12384;&#12363;&#12435;&#12384;&#12392;&#12368;&#12427;&#12368;&#12427;&#19968;&#36890;&#12426;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12375;&#12394;&#12362;&#12375;&#12414;&#12375;&#12383;&#12364;&#65292;&#30456;&#22793;&#12431;&#12425;&#12378;PHP&#12399;&#36215;&#21205;&#12375;&#12390;&#12367;&#12428;&#12414;&#12379;&#12435;&#65294;&#25163;&#12391;libphp7&#12394;&#12393;&#12434;&#21066;&#38500;&#12377;&#12427;&#24517;&#35201;&#12364;&#12354;&#12426;&#12414;&#12375;&#12383;&#65294;&#19968;&#33324;&#30340;&#12395;&#65292;down grade&#12399;&#65292;up grade&#12424;&#12426;&#12420;&#12387;&#12363;&#12356;&#12394;&#12371;&#12392;&#12364;&#22810;&#12356;&#12391;&#12377;&#65294;<\/p>\n<p>&#12424;&#12358;&#12420;&#12367;&#20803;&#36890;&#12426;&#12398;&#12399;&#12378;&#12394;&#12398;&#12395;&#65292;&#12300;Apache httpd&#12399;&#12510;&#12523;&#12481;&#12473;&#12524;&#12483;&#12489;&#12469;&#12509;&#12540;&#12488;&#12394;&#12398;&#12395;php&#12364;&#12510;&#12523;&#12481;&#12473;&#12524;&#12483;&#12489;&#12434;&#12469;&#12509;&#12540;&#12488;&#12375;&#12390;&#12356;&#12394;&#12356;&#12301;&#12392;&#12356;&#12358;&#12456;&#12521;&#12540;&#12364;&#20986;&#12390;&#65292;php&#12384;&#12369;&#12399;&#21205;&#12365;&#12414;&#12379;&#12435;&#65294;&#32080;&#35542;&#30340;&#12395;&#12399;&#65292;<strong>&ndash;with-tsrm-pthreads<\/strong>&#12434;&#20184;&#12369;&#12427;&#24517;&#35201;&#12364;&#12354;&#12426;&#12414;&#12375;&#12383;<sup class=\"modern-footnotes-footnote \" data-mfn=\"2\" data-mfn-post-scope=\"000000000000031f0000000000000000_5576\"><a href=\"javascript:void(0)\" role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-000000000000031f0000000000000000_5576-2\">2<\/a><\/sup><span id=\"mfn-content-000000000000031f0000000000000000_5576-2\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"2\">&#12493;&#12483;&#12488;&#12391;&#35519;&#12409;&#12383;&#12425;&#65292;&#12460;&#12475;&#12493;&#12479;&#12434;&#12388;&#12363;&#12414;&#12373;&#12428;&#12390;&#65292;&#26178;&#38291;&#12434;&#28010;&#36027;&#12375;&#12414;&#12375;&#12383;^^;<\/span>&#65294;<\/p>\n<p>&#12414;&#12383;&#65292;php-5.6.20&#12434;SlackBuild&#12473;&#12463;&#12522;&#12503;&#12488;&#12391;build&#12399;&#12391;&#12365;&#12427;&#12398;&#12391;&#12377;&#12364;&#65292;&#21205;&#12356;&#12390;&#12367;&#12428;&#12414;&#12379;&#12435;&#65294;&#20309;&#12363;&#20313;&#35336;&#12394;&#12458;&#12503;&#12471;&#12519;&#12531;&#12364;&#12354;&#12427;&#12398;&#12391;&#12375;&#12423;&#12358;&#65294;&#24403;&#20998;&#12399;&#25163;&#12391;build&#12434;&#32154;&#12369;&#12427;&#12371;&#12392;&#12395;&#12375;&#12414;&#12377;&#65294;<\/p>\n<p>&#19968;&#26178;&#38291;&#21322;&#12411;&#12393;&#65292;&#12471;&#12473;&#12486;&#12512;&#12398;&#12488;&#12521;&#12502;&#12523;&#23550;&#24540;&#12398;&#12488;&#12524;&#12540;&#12491;&#12531;&#12464;<sup class=\"modern-footnotes-footnote \" data-mfn=\"3\" data-mfn-post-scope=\"000000000000031f0000000000000000_5576\"><a href=\"javascript:void(0)\" role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-000000000000031f0000000000000000_5576-3\">3<\/a><\/sup><span id=\"mfn-content-000000000000031f0000000000000000_5576-3\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"3\">&#26178;&#38291;&#12398;&#28010;&#36027;&#65294;<\/span>&#12364;&#12391;&#12365;&#12414;&#12375;&#12383;^^;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u305d\u308d\u305d\u308d\uff0cPHP 7\u304b\u306a\u3068\u601d\u3044\uff0cbuild\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u307e\u3057\u305f\u304c\uff0chttpd\u304csegfault \u3092\u8d77\u3053\u3057\u3066\uff0c\u52d5\u3044\u3066\u304f\u308c\u307e\u305b\u3093\uff0e \u4ed5\u65b9\u304c\u306a\u3044\u306e\u3067\uff0c\u5f93\u524d\u306ephp-5.6.20\u306b\u623b\u305d\u3046\u3068\u3057\u307e\u3057\u305f\u304c\uff0chttpd\u3068php\u304c\u52d5\u304b\u306a\u3044\u306e\u3067\u3059\u304c\uff0c\u305d\u306e\u8fba\u306e\u30ce\u30a6\u30cf\u30a6\u306f\u3059\u3079\u3066\u975e\u516c\u958b\u306e\u81ea\u5206\u7528\u30e1\u30e2\u306eWiki\u306b\u8a18\u3057\u3066\u3042\u308b\u305f\u3081\uff0chttpd+php\u304c\u52d5\u304b\u306a\u3044\u3068\u78ba\u8a8d\u3067\u304d\u307e\u305b\u3093^^; Slackware\u306eSlackBuild\u30b9\u30af\u30ea\u30d7\u30c8\u3067build\u3059\u308b\u3057\u304b\u3042\u308a\u307e\u305b\u3093\uff0e \u307b\u304b\u306b\u3082\uff0clibgcrypt, libmcrypt, afpd (Netatalk)\u306a\u3069\u304c\u5909\u306a\u30a8\u30e9\u30fc\u3092\u51fa\u3057\u3066\u3044\u307e\u3059\uff0e\u305f\u3076\u3093\uff0c\u5148\u65e5\uff0cSlackware\u306eSecurity\u60c5\u5831\u306b\u57fa\u3065\u3044\u3066\uff0c\u307e\u3068\u3081\u3066\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u306a\u3069\u3092update\u3057\u3066\uff0c\u4f9d\u5b58\u6027\u304c\u7834\u7dbb\u3057\u3066\u3044\u308b\u306e\u3060\u3068\u601d\u3044\u307e\u3059^^; \u306a\u3093\u3060\u304b\u3093\u3060\u3068\u3050\u308b\u3050\u308b\u4e00\u901a\u308a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u306a\u304a\u3057\u307e\u3057\u305f\u304c\uff0c\u76f8\u5909\u308f\u3089\u305aPHP\u306f\u8d77\u52d5\u3057\u3066\u304f\u308c\u307e\u305b\u3093\uff0e\u624b\u3067libphp7\u306a\u3069\u3092\u524a\u9664\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\uff0e\u4e00\u822c\u7684\u306b\uff0cdown grade\u306f\uff0cup grade\u3088\u308a\u3084\u3063\u304b\u3044\u306a\u3053\u3068\u304c\u591a\u3044\u3067\u3059\uff0e \u3088\u3046\u3084\u304f\u5143\u901a\u308a\u306e\u306f\u305a\u306a\u306e\u306b\uff0c\u300cApache httpd\u306f\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u30b5\u30dd\u30fc\u30c8\u306a\u306e\u306bphp\u304c\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u3066\uff0cphp\u3060\u3051\u306f\u52d5\u304d\u307e\u305b\u3093\uff0e\u7d50\u8ad6\u7684\u306b\u306f\uff0c&#8211;with-tsrm-pthreads\u3092\u4ed8\u3051\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\uff0e \u307e\u305f\uff0cphp-5.6.20\u3092SlackBuild\u30b9\u30af\u30ea\u30d7\u30c8\u3067build\u306f\u3067\u304d\u308b\u306e\u3067\u3059\u304c\uff0c\u52d5\u3044\u3066\u304f\u308c\u307e\u305b\u3093\uff0e\u4f55\u304b\u4f59\u8a08\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308b\u306e\u3067\u3057\u3087\u3046\uff0e\u5f53\u5206\u306f\u624b\u3067build\u3092\u7d9a\u3051\u308b\u3053\u3068\u306b\u3057\u307e\u3059\uff0e \u4e00\u6642\u9593\u534a\u307b\u3069\uff0c\u30b7\u30b9\u30c6\u30e0\u306e\u30c8\u30e9\u30d6\u30eb\u5bfe\u5fdc\u306e\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u304c\u3067\u304d\u307e\u3057\u305f^^;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_daextam_enable_autolinks":"","footnotes":""},"categories":[8],"tags":[86,99,272,273,278,320,336,401,402],"class_list":["post-5576","post","type-post","status-publish","format-standard","hentry","category-linux","tag-afpd","tag-apache-httpd","tag-libgcrypt","tag-libmcrypt","tag-linux","tag-netatalk","tag-php","tag-slackbuild","tag-slackware"],"publishpress_future_action":{"enabled":false,"date":"2026-04-30 21:55:39","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"category","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/5576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5576"}],"version-history":[{"count":0,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/5576\/revisions"}],"wp:attachment":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}