{"id":38,"date":"2006-06-29T14:50:40","date_gmt":"2006-06-29T05:50:40","guid":{"rendered":"https:\/\/deskplate.net\/blog\/2006\/06\/29\/php-5-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab-linux\/"},"modified":"2006-06-29T14:50:40","modified_gmt":"2006-06-29T05:50:40","slug":"php-5-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab-linux","status":"publish","type":"post","link":"https:\/\/deskplate.net\/blog\/archives\/38","title":{"rendered":"PHP 5 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb Linux"},"content":{"rendered":"<p>PHP 5\u306e\u57fa\u672c\u7684\u306a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u3059<br \/>\nRed Hat 9 \u3067\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306blibxml2\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u3044\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u3067\u305f\u306e\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9<br \/>\nftp:\/\/xmlsoft.org\/libxml2\/\u3000\u3067\u6700\u65b0\u7248\u3092\u5165\u624b\u53ef\u80fd\u3059\u308b<br \/>\n[root@localhost src]# chmod +x *.rpm<br \/>\n[root@localhost src]# rpm -Uvh libxml2-*<br \/>\n\u8b66\u544a: libxml2-2.6.11-1.i386.rpm: V3 DSA signature: NOKEY, key ID de95bc1f<br \/>\nPreparing&#8230;                ########################################### [100%]<br \/>\n1:libxml2                ########################################### [ 33%]<br \/>\n2:libxml2-devel          ########################################### [ 67%]<br \/>\n3:libxml2-python         ########################################### [100%]<br \/>\ntar xvzf php-5.1.4.tar.gz<br \/>\ncd php-5.1.4<br \/>\n.\/configure &#8211;with-apxs2=\/usr\/local\/apache2\/bin\/apxs &#8211;enable-magic-quotes &#8211;with-xml &#8211;enable-mbregex &#8211;enable-mbstring &#8211;enable-zend-multibyte &#8211;with-mysql=\/usr\/local\/mysql &#8211;with-pgsql=\/usr\/local\/pgsql7.4.8 &#8211;enable-pear  &#8211;with-zlib &#8211;with-gd &#8211;with-gettext &#8211;with-jpeg-dir=\/usr\/lib &#8211;with-png-dir=\/usr\/lib<br \/>\nmake<br \/>\nmake install<br \/>\nhttpd.conf \u8a18\u8ff0\u78ba\u8a8d<br \/>\nAddType application\/x-httpd-php .php<br \/>\nLoadModule php5_module        modules\/libphp5.so<br \/>\n\u3000\u3000\uff0a\u304a\u305d\u3089\u304f\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u308b\u306f\u305a<br \/>\nini\u30d5\u30a1\u30a4\u30eb\u4f5c\u6210<br \/>\ncp php.ini-dist \/usr\/local\/lib\/php.ini<br \/>\n\u5909\u66f4\u7b87\u6240<br \/>\nmbstring.language = Japanese<br \/>\nmbstring.internal_encoding = EUC-JP<br \/>\nmbstring.http_input = auto<br \/>\nmbstring.http_output = Shift_JIS<br \/>\nmbstring.encoding_translation = On<br \/>\nmbstring.detect_order = auto<br \/>\nmbstring.substitute_character = none<br \/>\nApache\u3092\u518d\u8d77\u52d5\u3059\u308b<br \/>\ninfo.php\u3092\u4f5c\u6210\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308c\u3070\uff2f\uff2b<br \/>\nPHP 5\u304b\u3089Pear\u304c\u6700\u521d\u304b\u3089\u7d44\u307f\u8fbc\u307e\u308c\u3066\u308b\u306e\u304c\u3044\u3044\u3067\u3059\u306d\uff5e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP 5\u306e\u57fa\u672c\u7684\u306a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u3059 R<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,7],"tags":[],"class_list":["post-38","post","type-post","status-publish","format-standard","hentry","category-linux","category-php"],"_links":{"self":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/comments?post=38"}],"version-history":[{"count":0,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts\/38\/revisions"}],"wp:attachment":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/categories?post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/tags?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}