{"id":9,"date":"2010-01-03T03:00:56","date_gmt":"2010-01-02T18:00:56","guid":{"rendered":"http:\/\/phpdev.comsys-blog.com\/?p=3"},"modified":"2010-01-03T03:00:56","modified_gmt":"2010-01-02T18:00:56","slug":"centos5%e4%b8%8a%e3%81%a7%e3%81%aephp%e7%92%b0%e5%a2%83%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/tamura.jp\/?p=9","title":{"rendered":"CentOS5\u4e0a\u3067\u306ePHP\u74b0\u5883\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<ol>\n<li>CentOS5\u306e\u74b0\u5883\u3092\u78ba\u8a8d<br \/>\nyum -y update\u3000\u3092\u884c\u3063\u305f\u5f8c\u306e\u74b0\u5883\u3067\u3059\u3002<br \/>\n# cat \/etc\/redhat-release<br \/>\nCentOS release 5.4 (Final)<\/li>\n<li>APACHE\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n# yum -y install httpd<br \/>\n\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u78ba\u8a8d<br \/>\n# httpd -v<br \/>\nServer version: Apache\/2.2.3<br \/>\nServer built: Nov 12 2009 18:43:47<\/li>\n<li>PHP\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\nphp\u306b\u95a2\u3059\u308b\u3082\u306e\u306f\u3059\u3079\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u3067\u3059\u304c\u3001\u672c\u756a\u3067\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3044\u308b\u3082\u306e\u3060\u3051\u3092\u9078\u3093\u3060\u307b\u3046\u304c\u3088\u3044\u3067\u3057\u3087\u3046\u3002<br \/>\n\u3068\u308a\u306f\u3048\u305a\u3059\u3079\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<br \/>\n# yum -y install php*<br \/>\n\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u78ba\u8a8d<br \/>\n# php -v<br \/>\nPHP 5.1.6 (cli) (built: Apr 7 2009 08:00:04)<br \/>\nCopyright (c) 1997-2006 The PHP Group<br \/>\nZend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies<\/li>\n<li>Postgresql\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb(\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306bPostgreSQL\u3092\u4f7f\u3046\u5834\u5408)<br \/>\npostgresql\u306b\u95a2\u3059\u308b\u3082\u306e\u306f\u3059\u3079\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u3067\u3059\u304c\u3001\u672c\u756a\u3067\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3044\u308b\u3082\u306e\u3060\u3051\u3092\u9078\u3093\u3060\u307b\u3046\u304c\u3088\u3044\u3067\u3057\u3087\u3046\u3002<br \/>\n\u3068\u308a\u306f\u3048\u305a\u3059\u3079\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<br \/>\n# yum -y install postgresql*<br \/>\n\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u78ba\u8a8d<br \/>\n# psql &#8211;version<br \/>\npsql (PostgreSQL) 8.1.18<\/li>\n<li>MySql\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb(\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306bMySql\u3092\u4f7f\u3046\u5834\u5408)<br \/>\nMySql\u306b\u95a2\u3059\u308b\u3082\u306e\u306f\u3059\u3079\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u3067\u3059\u304c\u3001\u672c\u756a\u3067\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3044\u308b\u3082\u306e\u3060\u3051\u3092\u9078\u3093\u3060\u307b\u3046\u304c\u3088\u3044\u3067\u3057\u3087\u3046\u3002<br \/>\n\u3068\u308a\u306f\u3048\u305a\u3059\u3079\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<br \/>\n# yum -y install mysql*<br \/>\n# mysqladmin version<br \/>\nmysqladmin Ver 8.41 Distrib 5.0.77, for redhat-linux-gnu on i686<br \/>\nCopyright (C) 2000-2006 MySQL AB<br \/>\nThis software comes with ABSOLUTELY NO WARRANTY. This is free software,<br \/>\nand you are welcome to modify and redistribute it under the GPL license<br \/>\nServer version 5.0.77<br \/>\nProtocol version 10<br \/>\nConnection Localhost via UNIX socket<br \/>\nUNIX socket \/var\/lib\/mysql\/mysql.sock<br \/>\nUptime: 2 days 20 hours 53 min 32 sec<br \/>\nThreads: 1 Questions: 226256 Slow queries: 2 Opens: 178 Flush tables: 1 Open tables: 38 Queries per second avg: 0.912<\/li>\n<li>APACHE\u00a0 MySQL PostgreSql \u3092OS\u8d77\u52d5\u6642\u306b\u8d77\u52d5\u3059\u308b\u8a2d\u5b9a\u306b\u3059\u308b<br \/>\n# chkconfig httpd on<br \/>\n# chkconfig mysqld on<br \/>\n# chkconfig postgresql on<\/li>\n<li>APACHE\u00a0 MySQL PostgreSql\u3092\u8d77\u52d5\u3059\u308b<br \/>\n# service httpd start<br \/>\n# service\u00a0mysqld start<br \/>\n# service\u00a0postgresql start<\/li>\n<\/ol>\n<p>\u3053\u308c\u3067\u4e00\u5fdc\u3059\u3079\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u7d42\u308f\u308a<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CentOS5\u306e\u74b0\u5883\u3092\u78ba\u8a8d yum -y update\u3000\u3092\u884c\u3063\u305f\u5f8c\u306e\u74b0\u5883\u3067\u3059\u3002 # cat \/etc\/redhat-release CentOS release 5.4 (Final) APACHE\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb # y [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-9","post","type-post","status-publish","format-standard","hentry","category-php"],"_links":{"self":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/posts\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9"}],"version-history":[{"count":0,"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/posts\/9\/revisions"}],"wp:attachment":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}