{"id":2786,"date":"2013-09-11T01:32:12","date_gmt":"2013-09-10T16:32:12","guid":{"rendered":"http:\/\/www.frontier-line.org\/lognote\/?p=2786"},"modified":"2013-09-11T01:45:31","modified_gmt":"2013-09-10T16:45:31","slug":"%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e5%bc%95%e3%81%a3%e8%b6%8a%e3%81%97%e4%bd%9c%e6%a5%ad%ef%bc%88%ef%bc%95%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.frontier-line.org\/lognote\/?p=2786","title":{"rendered":"\u30b5\u30fc\u30d0\u30fc\u5f15\u3063\u8d8a\u3057\u4f5c\u696d\uff08\uff15\uff09"},"content":{"rendered":"<p>\u3000PHP\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\n\u3000PHP\u306e\u6a5f\u80fd\u3092\u3044\u308d\u3044\u308d\u4f7f\u304a\u3046\u3068\u3059\u308b\u3068\u3001\u524d\u3082\u3063\u3066\u5165\u308c\u3066\u304a\u304b\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u5b9a\u756a\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u3002\u9806\u756a\u3068\u3057\u3066\u306f\u3001<br \/>\nlibpng<br \/>\njpeg<br \/>\nfreetype<br \/>\nlibgd<br \/>\ncurl<br \/>\nphp<br \/>\n\u3060\u3068\u3046\u307e\u304f\u3044\u304d\u307e\u3059\u3002\u3072\u305f\u3059\u3089\u3001\/usr\/local\/src\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001\u3068\u3044\u3046\u7e70\u308a\u8fd4\u3057\u3067\u3059\u3002\u4e00\u65e6\u624b\u5143\u306e\u30d1\u30bd\u30b3\u30f3\u306b\u6301\u3063\u3066\u6765\u3066\u3057\u307e\u3063\u305f\u3082\u306e\u306f\u3001ftp\u3067\u30b5\u30fc\u30d0\u30fc\u306b\u7a81\u3063\u8fbc\u3093\u3060\u5f8c\u3001root\u6a29\u9650\u3067\u79fb\u52d5\u3055\u305b\u3066\/usr\/local\/src\u306b\u307e\u3068\u3081\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>http:\/\/sourceforge.net\/projects\/libpng\/files\/libpng16\/1.6.3\/<br \/>\n\u3088\u308a\u3002<br \/>\ntar zxvf libpng-1.6.3.tar.gz<br \/>\ncd libpng-1.6.3<br \/>\n.\/configure &#8211;enable-shared &#8211;prefix=\/usr\/local<br \/>\nmake install<\/p>\n<p>http:\/\/www.ijg.org\/ \u3088\u308ajpegsrc.v9.tar.gz<br \/>\ntar zxvf jpegsrc.v9.tar.gz<br \/>\ncd jpeg-9<br \/>\n.\/configure &#8211;enable-shared &#8211;with-png=\/usr\/local<br \/>\nmake install<\/p>\n<p>http:\/\/www.freetype.org\/ \u3088\u308a<br \/>\nfreetype-2.5.0.tar.gz<br \/>\ntar zxvf freetype-2.5.0.tar.gz<br \/>\ncd  freetype-2.5.0<br \/>\nenv GNUMAKE=&#8221;\/usr\/local\/bin\/gmake&#8221; .\/configure &#8211;enable-shared<br \/>\ngmake intall<\/p>\n<p>\u3000freetype\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u9014\u4e2d\u3067\u30a8\u30e9\u30fc\u3092\u8d77\u3053\u3059\u3068\u3001clean\u3057\u3066\u3082\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u3053\u3068\u304c\u3042\u308b\u3002\u5c55\u958b\u3057\u305f\u306e\u3092\u6d88\u3057\u3066\u3001tar.gz\u3092\u958b\u304f\u3068\u3053\u308d\u304b\u3089\u3084\u308a\u76f4\u305b\u3070\u3046\u307e\u304f\u3044\u304f\u3002<\/p>\n<p>http:\/\/libgd.bitbucket.org\/\u3000\u304b\u3089\u3001https:\/\/bitbucket.org\/libgd\/gd-libgd\/downloads\u3000\u7d4c\u7531\u3002<br \/>\nlibgd-2.1.0.tar.gz<br \/>\ntar zxvf libgd-2.1.0.tar.gz<br \/>\ncd libgd-2.1.0<br \/>\n.\/configure &#8211;enable-shared &#8211;with-png=\/usr\/local<\/p>\n<p>\u3000gd\u304cpng\u3068jpeg\u3092\u8981\u6c42\u3059\u308b\u306e\u3067\u3001gd\u306e\u524d\u306b\u3053\u306e\uff12\u3064\u3092\u5165\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>http:\/\/curl.haxx.se\/download.html\u3088\u308a\u5165\u624b<br \/>\ntar zxvf curl-7.32.0.tar.gz<br \/>\ncd curl-7.32.0<br \/>\n.\/configure<br \/>\nmake<br \/>\nmake install<\/p>\n<p>\n\u3000\u3053\u308c\u3067\u3001\u3084\u3063\u3068PHP\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u5165\u308c\u307e\u3059\u3002<br \/>\ntar zxvf php-5.5.3.tar.gz<br \/>\ncd php-5.5.3<br \/>\n.\/configure &#8211;with-apxs2=\/usr\/local\/apache2\/bin\/apxs &#8211;with-mysql=mysqlnd  &#8211;with-mysqli=mysqlnd &#8211;with-pdo-mysql &#8211;enable-mbstring  &#8211;enable-mbregex &#8211;with-libmbfl &#8211;enable-pcntl &#8211;with-zlib -with-openssl &#8211;with-gd &#8211;with-freetype-dir=\/usr\/local &#8211;with-curl=\/usr\/local<br \/>\nmake install<\/p>\n<p>\u3000\u5f85\u305f\u3055\u308c\u308b\u306e\u3067\u304a\u8336\u3067\u3082\u98f2\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3000\u7d42\u308f\u3063\u305f\u3089\u3001\/usr\/local\/apache2\/conf\/httpd.conf\u306b\u3001<br \/>\nLoadModule php5_module        modules\/libphp5.so<br \/>\n\u304c\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3002\u7121\u3051\u308c\u3070\u30a8\u30c7\u30a3\u30bf\u3067\u8ffd\u52a0\u3057\u307e\u3059\u3002\u5909\u66f4\u3057\u305f\u3089\/usr\/local\/apache2\/bin\/apachectl restart\u3092\u5fd8\u308c\u305a\u306b\u3002<\/p>\n<p>\u3000\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u30b3\u30d4\u30fc\u3057\u3066\u304d\u307e\u3059\u3002<br \/>\ncp \/usr\/local\/src\/php-5.5.3\/php.ini-production \/usr\/local\/lib\/php\/php.ini<br \/>\n\/usr\/local\/lib\/php\/php.ini\u304c\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u5909\u66f4\u7b87\u6240\u306f\u6b21\u306e\u901a\u308a\u3002<\/p>\n<p>short_open_tag = On<br \/>\nexpose_php = Off<br \/>\nerror_log = \/var\/log\/php_errors.log<\/p>\n<p>max_execution_time = 30<br \/>\nmax_input_time = 3000<br \/>\nmemory_limit = 1700M<br \/>\npost_max_size = 1600M<\/p>\n<p>doc_root =&#8221;\/home\/WWW&#8221;<br \/>\nupload_tmp_dir = \/tmp<br \/>\nupload_max_filesize = 1500M<\/p>\n<p>mbstring.language = Japanese<br \/>\nmbstring.internal_encoding = UTF-8<br \/>\nmbstring.http_input = pass<br \/>\nmbstring.http_output = pass<br \/>\nmbstring.encoding_translation = Off<br \/>\nmbstring.detect_order = auto<br \/>\nmbstring.substitute_character = none<br \/>\nmbstring.func_overload = 0<br \/>\nmbstring.strict_detection = Off<\/p>\n<p>\n\u3000\u5909\u66f4\u3057\u305f\u3089\u3001\/usr\/local\/apache2\/bin\/apachectl restart\u3057\u3066\u304a\u304f\u3002\u8ee2\u9001\u30d5\u30a1\u30a4\u30eb\u306e\u30b5\u30a4\u30ba\u304c\u3084\u305f\u3089\u5927\u304d\u3044\u306e\u306f\u3001\u30a2\u30c3\u30d7\u30ed\u30fc\u30c0\u3092\u904b\u7528\u3057\u3066\u3044\u308b\u304b\u3089\u3002<\/p>\n<p>&lt;?php<br \/>\nphpinfo();<br \/>\n?&gt;<br \/>\n\u306a\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066test.php\u3068\u3057\u3066\u4fdd\u5b58\uff0c\u30d6\u30e9\u30a6\u30b6\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3002\u8a2d\u5b9a\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u3001apache\u3082php\u3082\u52d5\u3044\u3066\u3044\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000PHP\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002 \u3000PHP\u306e\u6a5f\u80fd\u3092\u3044\u308d\u3044\u308d\u4f7f\u304a\u3046\u3068\u3059\u308b\u3068\u3001\u524d\u3082\u3063\u3066\u5165\u308c\u3066\u304a\u304b\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u5b9a\u756a\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u3002\u9806\u756a\u3068\u3057\u3066\u306f\u3001 libpng jpeg freetype libgd curl [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2786","post","type-post","status-publish","format-standard","hentry","category-computers"],"_links":{"self":[{"href":"https:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=\/wp\/v2\/posts\/2786","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2786"}],"version-history":[{"count":0,"href":"https:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=\/wp\/v2\/posts\/2786\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2786"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2786"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}