{"id":865,"date":"2013-07-31T22:48:52","date_gmt":"2013-07-31T13:48:52","guid":{"rendered":"http:\/\/www.nightmare-yk.com\/?p=865"},"modified":"2016-02-24T01:59:39","modified_gmt":"2016-02-23T16:59:39","slug":"%e5%8f%a4%e3%81%84php4%e7%b3%bb%e3%81%8b%e3%82%89mysql%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%82%92%e5%8f%82%e7%85%a7%e3%81%97%e3%81%9f%e3%81%a8%e3%81%8d%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc","status":"publish","type":"post","link":"http:\/\/www.nightmare-yk.com\/?p=865","title":{"rendered":"\u53e4\u3044PHP(4\u7cfb)\u304b\u3089MySQL\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u53c2\u7167\u3057\u305f\u3068\u304d\u306e\u30a8\u30e9\u30fc\u306e\u4ef6\u306b\u3064\u3044\u3066"},"content":{"rendered":"<p>\u3064\u30fc\u304b\u3001\u6050\u3089\u304f\u77e5\u3063\u3066\u3044\u308b\u4eba\u306f\u305f\u304f\u3055\u3093\u3044\u307e\u3059\u3088\u306d\u3002\u4eca\u66f4\uff1f\u611f\u306f\u3042\u308a\u307e\u3059\u3057\u3001\u4eca\u66f4PHP\u306e4\u7cfb\u3092\u4f7f\u3046\u4eba\u3082\u3044\u306a\u3044\u3068\u306f\u601d\u3044\u307e\u3059\u304c\u3002\u3002\u3002<br \/>\n\u3067\u3082\u3001\u66f8\u3044\u305f\u3063\u3066\u3044\u3044\u3058\u3083\u306a\u3044\uff01\u7ba1\u7406\u4eba\u306f\u306f\u307e\u3063\u305f\u3093\u3060\u304b\u3089\uff01<\/p>\n<p>PHP\u3068MySQL\u3092\u9023\u643a\u3057\u3066\u3044\u3066\u3001PHP\u304b\u3089MySQL\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u8aad\u3093\u3060\u969b\u306b\u3001\u4ee5\u4e0b\u304capache\u306e\u30ed\u30b0\u306b\u51fa\u529b\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<table style=\"table-layout:fixed;\">\n<tr>\n<td>\n<div style=\"overflow-x:auto;\">\n<pre>File 'NONEXISTENT\/charsets\/?.conf' not found (Errcode: 2)\r\n^GCharacter set '#12' is not a compiled character set and is not specified in the 'NONEXISTENT\/charsets\/Index' file<\/pre>\n<\/p><\/div>\n<\/td>\n<\/tr>\n<\/table>\n<p>&nbsp;<\/p>\n<p>\u6c17\u6301\u3061\u60aa\u3044\u306e\u3067\u3001\u89e3\u6c7a\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3067\u3059\u306d\u3002\u3002\u3002\u6700\u521d\u306f\u8a2d\u5b9a\u304b\u4f55\u304b\u304c\u304a\u304b\u3057\u3044\u3068\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u3067\u3082\u3001\u6539\u3081\u3066\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u307f\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8a18\u8f09\u304c\uff01\uff01<br \/>\n<a href=\"https:\/\/i0.wp.com\/www.nightmare-yk.com\/wp-content\/uploads\/2013\/07\/WARNING.png\"><img data-attachment-id=\"871\" data-permalink=\"http:\/\/www.nightmare-yk.com\/?attachment_id=871\" data-orig-file=\"https:\/\/i0.wp.com\/www.nightmare-yk.com\/wp-content\/uploads\/2013\/07\/WARNING.png?fit=561%2C171\" data-orig-size=\"561,171\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"WARNING\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.nightmare-yk.com\/wp-content\/uploads\/2013\/07\/WARNING.png?fit=300%2C91\" data-large-file=\"https:\/\/i0.wp.com\/www.nightmare-yk.com\/wp-content\/uploads\/2013\/07\/WARNING.png?fit=561%2C171\" loading=\"lazy\" class=\"wp-image-871 alignnone\" src=\"https:\/\/i0.wp.com\/www.nightmare-yk.com\/wp-content\/uploads\/2013\/07\/WARNING.png?resize=561%2C171\" alt=\"WARNING\" width=\"561\" height=\"171\" srcset=\"https:\/\/i0.wp.com\/www.nightmare-yk.com\/wp-content\/uploads\/2013\/07\/WARNING.png?w=561 561w, https:\/\/i0.wp.com\/www.nightmare-yk.com\/wp-content\/uploads\/2013\/07\/WARNING.png?resize=300%2C91 300w, https:\/\/i0.wp.com\/www.nightmare-yk.com\/wp-content\/uploads\/2013\/07\/WARNING.png?resize=500%2C152 500w\" sizes=\"(max-width: 561px) 100vw, 561px\" data-recalc-dims=\"1\" \/><\/a><br \/>\n\u3093\uff1f\u3068\u601d\u3063\u3066\u3088\u304f\u898b\u3066\u307f\u308b\u3068\u3001\u300cPHP&#8217;s built-in MySQL support\u300d\u306e\u6587\u5b57\u304c\u3002PHP\u306b\u5165\u3063\u3066\u3044\u308bMySQL\u3092\u4f7f\u3063\u3066\u3044\u308b\uff1f\u3066\u3053\u3068\u306f\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u95a2\u4fc2\u304c\u8aad\u3081\u3066\u3044\u306a\u3044\uff1f f\uff08\uff3e\uff3e\uff1b\uff09<br \/>\n\u3067\u3082\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u306f\u3001\/usr\/lib64\/mysql\u306b\u5165\u3063\u3066\u3044\u308b\u3057\u3001&#8211;with-libdir=lib64\u3092\u4ed8\u3051\u3066\u3044\u308b\u304b\u308964bit\u306e\u65b9\u3092\u898b\u3066\u3044\u308b\u306f\u305a\u3002\u3002\u3002\u3084\u3079\u3063\u3001\u308f\u304c\u3093\u306d\u3002\u3068\u8a00\u3046\u3053\u3068\u3067\u306f\u307e\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u539f\u56e0\u306f&#8230;PHP\u304c\u5358\u306b64bit\u5bfe\u5fdc\u306b\u306a\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u3053\u3068\u3067\u3057\u305f\u3002PHP\u306f4.4.9\u306e\u30bd\u30fc\u30b9\u3001mysql\u306f\u6700\u65b0\u7248\u306erpm\u4f7f\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u3057\u305f\u3002MySQL\u306f\/usr\/lib64\/mysql\u914d\u4e0b\u306b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002\u3067\u3082\u3001PHP\u306flib64\u306e\u4e0b\u3092\u898b\u306b\u884c\u304f\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3059\uff08-_-\uff09<br \/>\n\u4ee5\u4e0b\u3001\u539f\u56e0\u306econfigure(62113\u884c\u76ee\u8fba\u308a)<\/p>\n<table style=\"table-layout:fixed;\">\n<tr>\n<td>\n<div style=\"overflow-x:auto;\">\n<pre>for i in lib lib\/mysql; do \u2190 \u3053\u3053\u306d\uff01\uff01str=\"$MYSQL_DIR\/$i\/lib$MY_LIBNAME.*\"\r\nfor j in `echo $str`; do\r\nif test -r $j; then\r\nMYSQL_LIB_DIR=$MYSQL_DIR\/$i\r\nbreak 2\r\nfi<\/pre>\n<\/p><\/div>\n<\/td>\n<\/tr>\n<\/table>\n<p>&nbsp;<\/p>\n<p>lib64\u304c\u306a\u3044\uff01\uff01\u305d\u308a\u3083\u30fc\u3044\u304f\u3089\u30b3\u30f3\u30d1\u30a4\u30eb\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u3082\u3067\u304d\u306a\u3044\u308f\u3051\u3060\u3002\u3057\u3087\u3046\u304c\u306a\u3044\u306e\u3067\u3001configure\u3092\u66f8\u304d\u63db\u3048\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u4ee5\u4e0b\u3001diff\u306e\u7d50\u679c\u3067\u3059\u3002<\/p>\n<table style=\"table-layout:fixed;\">\n<tr>\n<td>\n<div style=\"overflow-x:auto;\">\n<pre>--- php-4.4.9.old\/configure 2008-08-06 17:36:41.000000000 +0900\r\n+++ php-4.4.9.new\/configure 2013-07-26 13:50:30.739792672 +0900\r\n@@ -62110,7 +62110,7 @@\r\n;;\r\nesac\r\n- for i in lib lib\/mysql; do\r\n+ for i in lib lib\/mysql lib64; dostr=\"$MYSQL_DIR\/$i\/lib$MY_LIBNAME.*\"\r\nfor j in `echo $str`; do<\/pre>\n<\/p><\/div>\n<\/td>\n<\/tr>\n<\/table>\n<p>\u3053\u308c\u3067\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u305f\u3089\u4e0a\u624b\u304f\u3044\u304d\u307e\u3057\u305f\u3002apache\u306e\u30a8\u30e9\u30fc\u30ed\u30b0\u3082\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u266a PHP\u306e4\u7cfb\u306e\u9803\u306b\u306f\u300164bit\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\/usr\/lib64\/\u306e\u914d\u4e0b\u306b\u7f6e\u304b\u308c\u308b\u306a\u3093\u3066\u5922\u306b\u3082\u601d\u3063\u3066\u306a\u304b\u3063\u305f\u306e\u3067\u3057\u3087\u3046\u306d\u3002<br \/>\n\u3046\u30fc\u3093\u3001\u53e4\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u3046\u3068\u304d\u306f\u6c17\u3092\u3064\u3051\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3067\u3059\u306d\u3002<\/p>\n<div class='wp_social_bookmarking_light'>\n            <div class=\"wsbl_facebook_like\"><div id=\"fb-root\"><\/div><fb:like href=\"http:\/\/www.nightmare-yk.com\/?p=865\" layout=\"button_count\" action=\"like\" width=\"100\" share=\"false\" show_faces=\"false\" ><\/fb:like><\/div>\n            <div class=\"wsbl_google_plus_one\"><g:plusone size=\"medium\" annotation=\"none\" href=\"http:\/\/www.nightmare-yk.com\/?p=865\" ><\/g:plusone><\/div>\n    <\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>\u3064\u30fc\u304b\u3001\u6050\u3089\u304f\u77e5\u3063\u3066\u3044\u308b\u4eba\u306f\u305f\u304f\u3055\u3093\u3044\u307e\u3059\u3088\u306d\u3002\u4eca\u66f4\uff1f\u611f\u306f\u3042\u308a\u307e\u3059\u3057\u3001\u4eca\u66f4PHP\u306e4\u7cfb\u3092\u4f7f\u3046\u4eba\u3082\u3044\u306a\u3044\u3068\u306f\u601d\u3044\u307e\u3059\u304c\u3002\u3002\u3002 \u3067\u3082\u3001\u66f8\u3044\u305f\u3063\u3066\u3044\u3044\u3058\u3083\u306a\u3044\uff01\u7ba1\u7406\u4eba\u306f\u306f\u307e\u3063\u305f\u3093\u3060\u304b\u3089\uff01 PHP\u3068MySQL\u3092\u9023\u643a\u3057\u3066\u3044\u3066\u3001PHP\u304b\u3089MySQL\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u8aad\u3093\u3060\u969b\u306b\u3001\u4ee5\u4e0b\u304capache\u306e\u30ed\u30b0\u306b\u51fa\u529b\u3055\u308c\u307e\u3057 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[3],"tags":[22,111,110],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=\/wp\/v2\/posts\/865"}],"collection":[{"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=865"}],"version-history":[{"count":10,"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=\/wp\/v2\/posts\/865\/revisions"}],"predecessor-version":[{"id":1890,"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=\/wp\/v2\/posts\/865\/revisions\/1890"}],"wp:attachment":[{"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=865"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.nightmare-yk.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}