{"id":67,"date":"2014-09-28T21:08:16","date_gmt":"2014-09-28T12:08:16","guid":{"rendered":"http:\/\/mifmif.mydns.jp\/masterkudo\/index.php\/2014\/09\/28\/post-0\/"},"modified":"2014-09-28T21:08:16","modified_gmt":"2014-09-28T12:08:16","slug":"post-0","status":"publish","type":"post","link":"https:\/\/mifmif.mydns.jp\/masterkudo\/?p=67","title":{"rendered":"UBUNTU14.04.1 LAMP\u306ePHP5.5\u306egzopen\u306e\u554f\u984c"},"content":{"rendered":"<p>\u3000\u3067\u304d\u308b\u3060\u3051\u697d\u3092\u3057\u305f\u3044\u306e\u3067\u3001\uff2c\uff21\uff2d\uff30\uff0b\u03b1\u3067\u69cb\u6210\u3057\u3088\u3046\u3068\u3057\u305f\u304c\u3001\uff2c\uff21\uff2d\uff30\u306e\uff30\uff1dPHP\u306b\u554f\u984c\u304c\u3042\u308a\u3001\u76f4\u3059\u3002<br \/>\n\u3000PukiWiki Advance\u3092\u52d5\u304b\u3059\u306b\u306f\u3001Mysql\u307e\u3067\u306f\u8981\u3089\u306a\u3044\u3093\u3067\u3059\u304c\u3001\u697d\u304c\u3067\u304d\u308b\u306e\u3067\u3001<br \/>\n$ sudo apt-get update<br \/>\n$ sudo apt-get install tasksel<br \/>\n$ sudo tasksel install lamp-server<br \/>\n\uff08\u3053\u3053\u3067\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5c0b\u306d\u3089\u308c\u308b\u306e\u3067\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u308c\u308b\u3002\uff09<br \/>\n\u3000\u305f\u308a\u306a\u3044\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u500b\u5225\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<br \/>\n$ sudo apt-get install php5-sqlite<br \/>\n$ sudo apt-get install php5-curl<br \/>\n\u3000\u74b0\u5883\u7684\u306b\u306f\u52d5\u304f\u306f\u305a\u306a\u306e\u3067\u3059\u304c\u3001\u3053\u306ePHP\u306b\u306fgzopen\u95a2\u6570\u304c\u7121\u304f\u4ee3\u308f\u308a\u306bgzopen64\u304c\u5229\u7528\u3067\u304d\u307e\u3059\u304c\u3001\u4ed5\u69d8\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u3000\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u52d5\u304b\u306a\u3044\u6240\u304c\u3067\u304d\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<br \/>\n\u3000\u305d\u3053\u3067\u3001\u307e\u3068\u3082\u306a\u4ed5\u69d8(gzopen\u306e\u3042\u308b\uff09\u306ePHP\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<br \/>\n\u2460\u307e\u305a\u3001\u4eca\u307e\u3067\u306ePHP5.5\u3092\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb(\u30d1\u30fc\u30b8)\u3059\u308b\u3002<br \/>\n\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u3057\u3066\u3001\u6d88\u53bb\u3057\u307e\u3059\u3002<br \/>\n$ sudo service apache2 stop<br \/>\n$ dpkg -l | grep php5<br \/>\n\u3053\u308c\u3067\u3001\u30ea\u30b9\u30c8\u304c\u51fa\u3066\u304d\u307e\u3059\u3002\u4e0a\u8a18\u901a\u308a\u5165\u308c\u305f\u306e\u3067\u3042\u308c\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u306f\u305a\u3067\u3059\u3002<br \/>\n$ sudo apt-get &#8211;purge remove libapache2-mod-php5 php5-cli php5-common php5-curl php5-json php5-mysql php5-readline php5-sqlite<br \/>\n\u2461Launchpad\u306eOndrei\u6c0f\u306ePHP5.5\u306eppa\u306e\u8a2d\u5b9a<br \/>\n\u3000\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u3084\u308b\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u3053\u306f\u3061\u3087\u3063\u3068\u697d\u3092\u3057\u3066\u3001<br \/>\n$ sudo synaptic<br \/>\n\u3000\u8a2d\u5b9a\u2192\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3068\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3002\u4ed6\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\uff08\u30bf\u30b0\uff09\u3002\u3067\u7af6\u5408\u3057\u305d\u3046\u306aPHP\u306eppa\u304c\u306a\u3044\u4e8b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\uff08\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\uff09<br \/>\n\u3000\u5de6\u4e0b\u306e\u8ffd\u52a0\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3001<a href=\"https:\/\/launchpad.net\/~ondrej\/+archive\/ubuntu\/php5\" target=\"_blank\" title=\"Launchpad\u306eOndrej\u6c0f\u306ePHP5.5\u306eppa\" rel=\"noopener noreferrer\">Launchpad\u306eOndrej\u6c0f\u306ePHP5.5\u306eppa<\/a>\u3064\u307e\u308a\u3001ppa:ondrej\/php5\u3092\u5165\u308c\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u53f3\u4e0b\u306e\u9589\u3058\u308b\u3078\u3002Synaptic\u304c\u8a2d\u5b9a\u3092\u3057\u3066\u304f\u308c\u307e\u3059\u3002<br \/>\n\u3000\u4eca\u5ea6\u306f\u3001\u53cd\u5bfe\u306b\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u3061\u3087\u3046\u3069\u3001\u5148\u307b\u3069\u306eremove\u3068\u53cd\u5bfe\u306a\u306e\u3067\u3001<br \/>\n$ sudo apt-get install libapache2-mod-php5 php5-cli php5-common php5-curl php5-json php5-mysql php5-readline php5-sqlite<br \/>\n\u3000\u3067\u3059\uff08\u306a\u304a\u3001\u6700\u5f8c\u306b\u81ea\u52d5\u3067\u3001apache2\u304c\u8d77\u52d5\u3057\u307e\u3057\u305f\u3002\uff09\u3002<br \/>\n\u3000\u3053\u3053\u3067\u3001synaptic\u3067\u3059\u3079\u3066\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u304c\u3067\u304d\u308b\u306e\u3067\u3053\u308c\u3092\u884c\u3044\u307e\u3059\u3002\uff08\u52d5\u4f5c\u7684\u306b\u3042\u3063\u3066\u3044\u308b\u306e\u304b\u3061\u3087\u3063\u3068\u4e0d\u660e\u3067\u306f\u3042\u308a\u307e\u3059\u304c\u3001\uff09unity\u304b\u3089\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u66f4\u65b0\u3092\u8d77\u52d5\u3057\u3001\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002<br \/>\n$ php -v<br \/>\nPHP 5.5.17-2+deb.sury.org~trusty+1 (cli) (built: Sep 25 2014 09:09:27)<br \/>\nCopyright (c) 1997-2014 The PHP Group<br \/>\nZend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies<br \/>\nwith Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies<br \/>\n\u6700\u65b0\u306e\u3082\u306e\u3068\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u30fb\u30fb\u30fb\u7d50\u5c40\uff2c\uff21\uff2d\uff30\u3067\u697d\u304c\u3067\u304d\u306a\u304b\u3063\u305f\u3068\u3044\u3046\u843d\u3061\u3067\u3059\u306d \uff61<br \/>\n\uff71\uff81\uff6c\uff70\uff65\uff9f\uff65(\uff89\u2200`)\uff65\uff9f\uff65\uff61<br \/>\n\u3000<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u3067\u304d\u308b\u3060\u3051\u697d\u3092\u3057\u305f\u3044\u306e\u3067\u3001\uff2c\uff21\uff2d\uff30\uff0b\u03b1\u3067\u69cb\u6210\u3057\u3088\u3046\u3068\u3057\u305f\u304c\u3001\uff2c\uff21\uff2d\uff30\u306e\uff30\uff1dPHP\u306b\u554f\u984c\u304c\u3042\u308a\u3001\u76f4\u3059\u3002 \u3000PukiWiki Advance\u3092\u52d5\u304b\u3059\u306b\u306f\u3001Mysql\u307e\u3067\u306f\u8981\u3089\u306a\u3044\u3093\u3067\u3059\u304c\u3001\u697d\u304c\u3067\u304d\u308b\u306e\u3067\u3001 $ sudo a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-67","post","type-post","status-publish","format-standard","hentry","category-4"],"_links":{"self":[{"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=\/wp\/v2\/posts\/67","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=67"}],"version-history":[{"count":0,"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=\/wp\/v2\/posts\/67\/revisions"}],"wp:attachment":[{"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mifmif.mydns.jp\/masterkudo\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}