{"id":1299,"date":"2011-08-09T17:10:25","date_gmt":"2011-08-09T08:10:25","guid":{"rendered":"http:\/\/blog.isnext.net\/issy\/?p=1299"},"modified":"2012-04-25T16:57:04","modified_gmt":"2012-04-25T07:57:04","slug":"scientific-linux-5-6%e3%81%abphp5-2-x%e3%82%92%e5%b0%8e%e5%85%a5%e3%81%99%e3%82%8b%e3%83%a1%e3%83%a2","status":"publish","type":"post","link":"https:\/\/blog.isnext.net\/issy\/archives\/1299","title":{"rendered":"Scientific Linux 5.6\u306bphp5.2.x\u3092\u5c0e\u5165\u3059\u308b\u30e1\u30e2"},"content":{"rendered":"<p><strong>\u25a0Scientific Linux 5.6\u306bphp5.2.x\u3092\u5c0e\u5165\u3059\u308b\u30e1\u30e2<\/strong><br \/>\n\u3000Scientific Linux 5.6\u306b\u6a19\u6e96\u5c0e\u5165\u3055\u308c\u308b\u306e\u306fCentOS5.6\u540c\u69d8\u306bphp5.1.6\u306b\u306a\u308b\u305f\u3081\u3001\u6700\u65b0\u306eWordPress3.2.x\u304c\u52d5\u4f5c\u3067\u304d\u306a\u3044\u3002\u305d\u3053\u30675.2.x\u7cfb\u306e\u6700\u65b0\u7248\u3092\u5c0e\u5165\u3059\u308b\uff08\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u305fSNS\u30a2\u30d7\u30ea\u304cphp5.3\u5bfe\u5fdc\u672a\u5b8c\u306e\u305f\u3081\uff09\u3002\u5c0e\u5165\u3059\u308b\u30ea\u30dd\u30b8\u30c8\u30ea\u306f<a href=\"http:\/\/iuscommunity.org\/\">IUS Community Project<\/a>\u306e\u3082\u306e\u3002\u540cProject\u306fPHP,Python,MySQL\u306e\u6700\u65b0\u7248\u3092RH\u7cfb\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u5411\u3051\u306b\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3092\u76ee\u7684\u3068\u3057\u3066\u3044\u308b\u3002\u3044\u305a\u308c5.3\u7cfb\u306b\u3059\u308b\u5834\u5408\u306b\u3082\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308b\u3068\u601d\u308f\u308c\u308b\u306e\u3067\u5c0e\u5165\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<p><strong>\u25a0IUS\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5c0e\u5165<\/strong><br \/>\n\u3000epel\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u540c\u6642\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067SL\u306e\u8a2d\u5b9a\u3067\u5229\u7528\u3057\u305fyum-conf-epel-5-1\u3092\u524a\u9664\u3057\u3066\u304b\u3089\u3001IUS\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002\u8a73\u7d30\u306a\u8aac\u660e\u306f<a href=\"http:\/\/iuscommunity.org\/Docs\/ClientUsageGuide\">\u672c\u5bb6\u306e\u30ac\u30a4\u30c9<\/a>\u3092\u53c2\u7167\u3002<br \/>\n[code]<br \/>\n# yum remove yum-conf-epel-5-1<br \/>\n# wget http:\/\/dl.iuscommunity.org\/pub\/ius\/stable\/Redhat\/5\/x86_64\/ius-release-1.0-8.ius.el5.noarch.rpm<br \/>\n# wget http:\/\/dl.iuscommunity.org\/pub\/ius\/stable\/Redhat\/5\/x86_64\/epel-release-5-4.noarch.rpm<br \/>\n# rpm -Uvh ius-release*.rpm epel-release*.rpm<br \/>\n# yum update<br \/>\n[\/code]<br \/>\n<strong>\u25a0php\u306e\u5165\u66ff\u3048<\/strong><br \/>\n\u3000yum\u306ereplace\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5229\u7528\u3057\u3066\u4e00\u6c17\u306b\u5165\u66ff\u3048\u3092\u884c\u3046\u3002epel\u304b\u3089php-eaccelerator\u3092\u5c0e\u5165\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u4f9d\u5b58\u6027\u6b20\u5982\u3067\u524a\u9664\u3055\u308c\u3066\u3057\u307e\u3046\u305f\u3081\u6ce8\u610f\u304c\u5fc5\u8981\u3002<br \/>\n[code]<br \/>\n# yum install yum-plugin-replace<br \/>\n# yum replace php &#8211;replace-with php52<br \/>\n[\/code]<br \/>\n<strong>\u25a0eAccelerator\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/strong><br \/>\n\u3000sourceforge.net\u304b\u3089\u6700\u65b0\u306eeaccelerator-0.9.6.1.tar.bz2\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304a\u304f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306e\u8a73\u7d30\u306f<a href=\"http:\/\/eaccelerator.net\/wiki\/InstallFromSource\">\u3053\u3061\u3089<\/a>\u3002<\/p>\n<p>\u4e8b\u524d\u6e96\u5099<br \/>\n# yum install php52-devel gcc<\/p>\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n[code]<br \/>\n# tar jxvf eaccelerator-0.9.6.1.tar.bz2<br \/>\n# cd eaccelerator-0.9.6.1<br \/>\n# phpize<br \/>\n# .\/configure<br \/>\n# make<br \/>\n# make install<br \/>\n[\/code]<br \/>\n\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u4f5c\u6210<br \/>\n[code]<br \/>\n# vi \/etc\/php.d\/eaccelerator.ini<br \/>\n\u3000extension=&#8221;eaccelerator.so&#8221;<br \/>\n\u3000;zend_extension=&#8221;\/usr\/lib\/php\/modules\/eaccelerator.so&#8221;<br \/>\n\u3000eaccelerator.shm_size=&#8221;128&#8243;<br \/>\n\u3000eaccelerator.cache_dir = &#8220;\/var\/cache\/php-eaccelerator&#8221;<br \/>\n\u3000eaccelerator.enable=&#8221;1&#8243;<br \/>\n\u3000eaccelerator.optimizer=&#8221;1&#8243;<br \/>\n\u3000eaccelerator.check_mtime=&#8221;1&#8243;<br \/>\n\u3000eaccelerator.debug=&#8221;0&#8243;<br \/>\n\u3000eaccelerator.log_file = &#8220;\/var\/log\/httpd\/eaccelerator_log&#8221;<br \/>\n\u3000eaccelerator.name_space = &#8220;&#8221;<br \/>\n\u3000eaccelerator.filter=&#8221;&#8221;<br \/>\n\u3000eaccelerator.shm_max=&#8221;0&#8243;<br \/>\n\u3000eaccelerator.shm_ttl=&#8221;3600&#8243;<br \/>\n\u3000eaccelerator.shm_prune_period=&#8221;0&#8243;<br \/>\n\u3000eaccelerator.shm_only=&#8221;0&#8243;<br \/>\n\u3000eaccelerator.compress=&#8221;1&#8243;<br \/>\n\u3000eaccelerator.compress_level=&#8221;9&#8243;<br \/>\n\u3000eaccelerator.keys     = &#8220;shm_and_disk&#8221;<br \/>\n\u3000eaccelerator.sessions = &#8220;shm_and_disk&#8221;<br \/>\n\u3000eaccelerator.content  = &#8220;shm_and_disk&#8221;<br \/>\n\u3000;eaccelerator.allowed_admin_path = &#8220;&#8221;<br \/>\n[\/code]<br \/>\n\u30ad\u30e3\u30c3\u30b7\u30e5\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4f5c\u6210<br \/>\n[code]<br \/>\n# mkdir \/var\/cache\/php-eaccelerator<br \/>\n# chmod 0777 \/var\/cache\/php-eaccelerator<br \/>\n[\/code]<br \/>\napache\u518d\u8d77\u52d5<br \/>\n# apachectl graceful<\/p>\n<p>phpinfo\u3067\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0Scientific Linux 5.6\u306bphp5.2.x\u3092\u5c0e\u5165\u3059\u308b\u30e1\u30e2 \u3000Scientific Linux 5.6\u306b\u6a19\u6e96\u5c0e\u5165\u3055\u308c\u308b\u306e\u306fCentOS5.6\u540c\u69d8\u306bphp5.1.6\u306b\u306a\u308b\u305f\u3081\u3001\u6700\u65b0\u306eWordPress3.2 &hellip; <a href=\"https:\/\/blog.isnext.net\/issy\/archives\/1299\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Scientific Linux 5.6\u306bphp5.2.x\u3092\u5c0e\u5165\u3059\u308b\u30e1\u30e2&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[20,136,26,123,77],"class_list":["post-1299","post","type-post","status-publish","format-standard","hentry","category-linux","tag-centos","tag-eaccelerator","tag-php","tag-scientific","tag-sns"],"_links":{"self":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts\/1299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/comments?post=1299"}],"version-history":[{"count":4,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts\/1299\/revisions"}],"predecessor-version":[{"id":2099,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts\/1299\/revisions\/2099"}],"wp:attachment":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/media?parent=1299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/categories?post=1299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/tags?post=1299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}