{"id":783,"date":"2017-08-14T19:33:11","date_gmt":"2017-08-14T10:33:11","guid":{"rendered":"https:\/\/clouds.tokyo\/blog\/?p=783"},"modified":"2017-08-14T19:35:37","modified_gmt":"2017-08-14T10:35:37","slug":"linux_pecl_http","status":"publish","type":"post","link":"https:\/\/clouds.tokyo\/blog\/linux_pecl_http\/","title":{"rendered":"\u3010Linux\u3011pecl_http\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u3068\u304d\u306f"},"content":{"rendered":"<p>CentOS6\u3001PHP5.3.3\u306e\u74b0\u5883\u3067pecl_http\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001\u3053\u3093\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u307e\u3057\u305f\u3002<\/p>\n<pre>\r\n# pecl install pecl_http\r\n\r\npecl\/pecl_http requires PHP (version >= 7.0.0), installed version is 5.3.3\r\npecl\/raphf requires PHP (version >= 7.0.0), installed version is 5.3.3\r\npecl\/propro requires PHP (version >= 7.0.0), installed version is 5.3.3\r\nNo valid packages found\r\ninstall failed\r\n<\/pre>\n<p>\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u306fPHP7.0.0\u4ee5\u4e0a\u304c\u5fc5\u8981\u306a\u3088\u3046\u3067\u3059\u3002<br \/>\n\u3057\u304b\u3057\u3044\u304f\u3064\u3082\u306e\u30b5\u30fc\u30d3\u30b9\u304c\u7a3c\u50cd\u4e2d\u306e\u30b5\u30fc\u30d0\u30fc\u3067\u3057\u305f\u306e\u3067<br \/>\nPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4e0a\u3052\u308b\u306b\u306f\u30ea\u30b9\u30af\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u8abf\u3079\u305f\u3068\u3053\u308d\u3001\u6700\u65b0\u3067\u306f\u306a\u3044\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306epecl_http\u306a\u3089<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u3089\u3057\u3044\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<pre>\r\n# pecl install pecl_http-1.7.6\r\n<\/pre>\n<p>\u3059\u308b\u3068\u5148\u7a0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u51fa\u305a\u3001\u51e6\u7406\u304c\u9032\u3093\u3067\u3044\u304f\u306e\u3067<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u305f\u30fc<\/p>\n<p>\u3068\u601d\u3063\u305f\u3089\u3001\u6b21\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u3067\u6b62\u307e\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre>\r\nconfigure: error: could not find curl\/curl.h\r\nERROR: `\/var\/tmp\/pecl_http\/configure --with-http-curl-requests --with-http-zlib-compression --with-http-magic-mime=no --with-http-shared-deps' failed\r\n<\/pre>\n<p>curl\u3092\u5165\u308c\u308d\u3068\u3044\u3046\u3053\u3068\u3089\u3057\u3044\u306e\u3067<br \/>\ncurl\u3092\u5165\u308c\u307e\u3059\u3002<\/p>\n<pre>\r\nyum install curl-devel\r\n<\/pre>\n<p>\u305d\u3057\u3066\u518d\u3073<\/p>\n<pre>\r\n# pecl install pecl_http-1.7.6\r\n<\/pre>\n<p>\u3053\u308c\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3057\u305f\u3002<br \/>\n\u3042\u3068\u306f\u3000\/etc\/php.ini\u3000\u306b\u4e0b\u8a18\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nextension=http.so\r\n<\/pre>\n<p>\u3053\u308c\u3067web\u30b5\u30fc\u30d0\u30fc\u3092\u518d\u8d77\u52d5\u3059\u308c\u3070OK\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CentOS6\u3001PHP5.3.3\u306e\u74b0\u5883\u3067pecl_http\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001\u3053\u3093\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u307e\u3057\u305f\u3002 # pecl install pecl_http pecl\/pecl_http requires  &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/clouds.tokyo\/blog\/linux_pecl_http\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u3010Linux\u3011pecl_http\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u3068\u304d\u306f&#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":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":""},"categories":[2],"tags":[95,328,329,330],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pezW3u-cD","jetpack-related-posts":[{"id":901,"url":"https:\/\/clouds.tokyo\/blog\/phpmyadmin_verup\/","url_meta":{"origin":783,"position":0},"title":"\u3010phpMyAdmin\u3011\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u305f\u3089\u300cUnknown system variable &#8216;lc_messages&#8217;\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u308b","author":"yamamoto","date":"2017\u5e7412\u670815\u65e5","format":false,"excerpt":"\u5148\u65e5\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u74b0\u5883\u3092PHP7\u306b\u3057\u3066\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u52d5\u4f5c\u306f\u78ba\u8a8d\u3057\u305f\u306e\u3067\u3059\u304c\u3001 phpMyAdmin\u3092\u78ba\u8a8d\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":868,"url":"https:\/\/clouds.tokyo\/blog\/linux_php7\/","url_meta":{"origin":783,"position":1},"title":"\u3010Linux\u3011CentOS6.5\u3067PHP5.3\u3092\u3044\u304d\u306a\u308aPHP7.1\u306b\u3059\u308b","author":"yamamoto","date":"2017\u5e7411\u670815\u65e5","format":false,"excerpt":"PHP\u306e\u30b7\u30b9\u30c6\u30e0\u958b\u767a\u3067PHP7\u4ee5\u4e0a\u304c\u8981\u6c42\u3055\u308c\u308b\u6848\u4ef6\u3082\u5897\u3048\u3066\u304d\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u3002 \u3067\u3082CentOS6.\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":941,"url":"https:\/\/clouds.tokyo\/blog\/linux_python27\/","url_meta":{"origin":783,"position":2},"title":"\u3010Linux\u3011CentOS6\u306bPython2.7\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u81ea\u52d5\u7684\u306b\u6709\u52b9\u306b\u3059\u308b","author":"yamamoto","date":"2018\u5e741\u670829\u65e5","format":false,"excerpt":"\u5148\u65e5Let's Encrypt\u306e\u30ed\u30b0\u306bWarning\u304c\u51fa\u3066\u3044\u307e\u3057\u305f\u3002 WARNING: couldn\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1902,"url":"https:\/\/clouds.tokyo\/blog\/server_php_version\/","url_meta":{"origin":783,"position":3},"title":"\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3067\u30b7\u30a7\u30eb\u306ePHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b","author":"yamamoto","date":"2026\u5e743\u670823\u65e5","format":false,"excerpt":"\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3067\u306fphpinfo\u3067\u8868\u793a\u3057\u305fPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u3001ssh\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066php -v\u3057\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":541,"url":"https:\/\/clouds.tokyo\/blog\/linux_dropbox\/","url_meta":{"origin":783,"position":4},"title":"\u3010Linux\u3011Dropbox\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u697d\u3005\u30d0\u30c3\u30af\u30a2\u30c3\u30d7","author":"yamamoto","date":"2015\u5e745\u670831\u65e5","format":false,"excerpt":"Linux\u306bDropbox\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070 rsync\u306a\u3069\u3092\u4f7f\u308f\u305a\u3068\u3082\u30d5\u30a1\u30a4\u30eb\u3092\u3054\u3063\u305d\u308a\u540c\u671f\u3067\u304d\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":578,"url":"https:\/\/clouds.tokyo\/blog\/linux_git_centos5\/","url_meta":{"origin":783,"position":5},"title":"\u3010Linux\u3011CentOS5\u306bgit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b","author":"yamamoto","date":"2012\u5e742\u67089\u65e5","format":false,"excerpt":"\u305d\u306e\u307e\u307e\u3060\u3068 yum install git \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u3082 No package g\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/783"}],"collection":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/comments?post=783"}],"version-history":[{"count":2,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/783\/revisions"}],"predecessor-version":[{"id":785,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/783\/revisions\/785"}],"wp:attachment":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/media?parent=783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/categories?post=783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/tags?post=783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}