{"id":1999,"date":"2010-10-14T18:22:42","date_gmt":"2010-10-14T09:22:42","guid":{"rendered":"http:\/\/www.ekbt.net\/blog\/?p=1999"},"modified":"2010-10-14T18:22:42","modified_gmt":"2010-10-14T09:22:42","slug":"%e3%81%bc%e3%82%8d%e3%82%b5%e3%83%bc%e3%83%90%e6%94%b9%e3%82%81%e6%96%b0%e3%82%b5%e3%83%bc%e3%83%90%e3%81%ae%e4%bd%9c%e6%88%90%ef%bc%8d%e3%81%9d%e3%81%ae8","status":"publish","type":"post","link":"https:\/\/ekbt.info\/?p=1999","title":{"rendered":"\u307c\u308d\u30b5\u30fc\u30d0\u6539\u3081\u65b0\u30b5\u30fc\u30d0\u306e\u4f5c\u6210\uff0d\u305d\u306e8"},"content":{"rendered":"<p>\t\t\t\t\u25a0PHP\u3068MySQL\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u8a2d\u5b9a<br \/>\n\u3000\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\uff08MySQL\uff09\u3068\u3001MySQL\u3084\u30d6\u30ed\u30b0\u306a\u3069\u3092\u4f7f\u3046\u305f\u3081\u306b\u4fbf\u5229\u306a\u8a00\u8a9ePHP\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002Perl\u3067\u3082\u7d50\u69cb\u3067\u304d\u307e\u3059\u3057\u3001Java\u3068\u3044\u3046\u9078\u629e\u3057\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u3084\u306f\u308a\u4fbf\u5229\u3067\u5c0f\u56de\u308a\u304c\u304d\u304fPHP\u304c\u3044\u3044\u306e\u3067\u306f\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\uff11\uff0e\u307e\u305a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n\u30fbphp\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>\u3000[root@fedora ~]# yum install php<\/p>\n<p>\u30fbMySQL\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>\u3000[root@fedora ~]# yum install mysql<br \/>\n\u3000[root@fedora ~]# yum install mysql-server<\/p>\n<p>\u30fbphp\u3068MySQL\u306e\u63a5\u7d9a\u30c4\u30fc\u30eb\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>\u3000[root@fedora ~]# yum install php-mysql<\/p>\n<p>\u30fbphp\u306e\u30af\u30e9\u30b9\u30d5\u30a1\u30a4\u30ebpear\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n\u3000MySQL\u306b\u63a5\u7d9a\u3059\u308b\u3068\u304d\u306b\u4fbf\u5229\u306aDB\u3084MDB2\u30af\u30e9\u30b9\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u4f7f\u3048\u308bpear\u304c\u5165\u3063\u3066\u3044\u308b\u304b\u78ba\u304b\u3081\u308b\u3002<\/p>\n<p>\u3000[root@fedora ~]# pear list<br \/>\n\u3000bash: pear: \u30b3\u30de\u30f3\u30c9\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093<\/p>\n<p>\u3000\u3053\u3046\u51fa\u305f\u3089\u5165\u3063\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>\u3000[root@fedora ~]# yum install php-pear<\/p>\n<p>\u30fbpear\u306e\u78ba\u8a8d<\/p>\n<p>\u3000[root@Casper ~]# pear list<br \/>\n\u3000Installed packages, channel pear.php.net:<br \/>\n\u3000=========================================<br \/>\n\u3000Package          Version State<br \/>\n\u3000Archive_Tar      1.3.5   stable<br \/>\n\u3000Console_Getopt   1.2.3   stable<br \/>\n\u3000PEAR             1.9.0   stable<br \/>\n\u3000Structures_Graph 1.0.3   stable<br \/>\n\u3000XML_RPC          1.5.3   stable<br \/>\n\u3000XML_Util         1.2.1   stable<br \/>\n\u3000pear\u306e\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3053\u306e\u69d8\u306b\u3059\u308b\u3002\uff59\uff55\uff4d\u3068\u826f\u304f\u4f3c\u3066\u3044\u308b\u3002<\/p>\n<p>\u3000[root@fedora ~]# pear install db<br \/>\n\u3000install ok: channel:\/\/pear.php.net\/DB-1.7.13<\/p>\n<p>\u3000\u5165\u3063\u305f\u304b\u3069\u3046\u304blist\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d<\/p>\n<p>\u3000[root@casper1 ~]# pear list<br \/>\n\u3000Installed packages, channel pear.php.net:<br \/>\n\u3000=========================================<br \/>\n\u3000Package          Version State<br \/>\n\u3000Archive_Tar      1.3.5   stable<br \/>\n\u3000Console_Getopt   1.2.3   stable<br \/>\n\u3000DB               1.7.13  stable<br \/>\n\u3000PEAR             1.9.0   stable<br \/>\n\u3000Structures_Graph 1.0.3   stable<br \/>\n\u3000XML_RPC          1.5.3   stable<br \/>\n\u3000XML_Util         1.2.1   stable<\/p>\n<p>\u3000mdb2\u3082\u5165\u308c\u3066\u307f\u308b<\/p>\n<p>\u3000[root@casper1 ~]# pear install mdb2<br \/>\n\u3000install ok: channel:\/\/pear.php.net\/MDB2-2.4.1<\/p>\n<p>\u5165\u3063\u305f\u304b\u3069\u3046\u304blist\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3000<\/p>\n<p>\u3000[root@casper1 ~]# pear list<br \/>\n\u3000Installed packages, channel pear.php.net:<br \/>\n\u3000=========================================<br \/>\n\u3000Package          Version State<br \/>\n\u3000Archive_Tar      1.3.5   stable<br \/>\n\u3000Console_Getopt   1.2.3   stable<br \/>\n\u3000DB               1.7.13  stable<br \/>\n\u3000MDB2             2.4.1   stable<br \/>\n\u3000PEAR             1.9.0   stable<br \/>\n\u3000Structures_Graph 1.0.3   stable<br \/>\n\u3000XML_RPC          1.5.3   stable<br \/>\n\u3000XML_Util         1.2.1   stable<\/p>\n<p>\u3000\u3042\u3068\u306f\u3001PHP\u3067MySQL\u3078\u306e\u30a2\u30af\u30bb\u30b9\u90e8\u5206\u3092\u4f5c\u308b\u6642\u306b\u3001\u7d9a\u304d\u3092\u8a2d\u5b9a\u3002<\/p>\n<p>\u30fbphp\u306e\u52d5\u4f5c\u78ba\u8a8d<br \/>\n\u3000\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30b5\u30fc\u30d0\u306b\u7f6e\u3044\u3066\u3001\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u8868\u793a\u3057\u3066\u307f\u308b<\/p>\n<p>\u3000\uff1c?php<br \/>\n\u3000\u3000\u3000\u3000phpinfo();<br \/>\n\u3000?\uff1e<\/p>\n<p>\u30fbphp\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3<br \/>\n\u3000php\u30c6\u30b9\u30c8\u7528\u30d5\u30a9\u30eb\u30c0\u30fc\u306bLAN\u5916\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u304f\u3059\u308b<\/p>\n<p>.htaccess\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b<\/p>\n<p>\u3000order deny,allow<br \/>\n\u3000deny from all<br \/>\n\u3000allow from localhost<br \/>\n\u3000allow from 192.168.X.X\/24<\/p>\n<p>\u3000\u203b.htaccess\u30d5\u30a1\u30a4\u30eb\u3092\u6709\u52b9\u306b\u3059\u308b\u305f\u3081\u306b\u306f\u3001Apache\u306econf\u30d5\u30a1\u30a4\u30eb\u3092\u3044\u3058\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<br \/>\n\u3000\u3000\u3000\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u30fb\u30e6\u30fc\u30b6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30c7\u30ec\u30af\u30c6\u30a3\u30d6<br \/>\n\u3000\u3000\u3000\u3000\u3000\uff1cDirectory &#8220;\/var\/www\/html&#8221;\uff1e\u3000\u3000\u304b\u3000\uff1cDirectory &#8220;\/home\/*\/public-html&#8221;\uff1e<br \/>\n\u3000\u3000\u3000\u3000\u3000\u5185\u306e<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000AllowOverride None<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3092<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000AllowOverride All<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3068\u3059\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0PHP\u3068MySQL\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u8a2d\u5b9a \u3000\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\uff08MySQL\uff09\u3068\u3001MySQL\u3084\u30d6\u30ed\u30b0\u306a\u3069\u3092\u4f7f\u3046\u305f\u3081\u306b\u4fbf\u5229\u306a\u8a00\u8a9ePHP\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002Perl\u3067\u3082\u7d50\u69cb\u3067\u304d\u307e\u3059\u3057\u3001Java\u3068\u3044\u3046\u9078\u629e\u3057\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u3084\u306f\u308a\u4fbf\u5229\u3067\u5c0f\u56de\u308a\u304c &hellip; <a href=\"https:\/\/ekbt.info\/?p=1999\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u307c\u308d\u30b5\u30fc\u30d0\u6539\u3081\u65b0\u30b5\u30fc\u30d0\u306e\u4f5c\u6210\uff0d\u305d\u306e8&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[139],"tags":[434,1142],"class_list":["post-1999","post","type-post","status-publish","format-standard","hentry","category-linux","tag-php","tag-1142"],"_links":{"self":[{"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/posts\/1999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1999"}],"version-history":[{"count":0,"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/posts\/1999\/revisions"}],"wp:attachment":[{"href":"https:\/\/ekbt.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}