{"id":484,"date":"2014-12-13T00:54:57","date_gmt":"2014-12-13T00:54:57","guid":{"rendered":"http:\/\/www.tech-g.com\/?p=484"},"modified":"2014-12-13T00:54:57","modified_gmt":"2014-12-13T00:54:57","slug":"installing-pecl_http-on-fresh-debian","status":"publish","type":"post","link":"https:\/\/www.voodoo.business\/blog\/2014\/12\/13\/installing-pecl_http-on-fresh-debian\/","title":{"rendered":"Installing pecl_http on fresh debian"},"content":{"rendered":"<p>So here are the quick steps<\/p>\n<pre>\r\napt-get install ssh openssh-server fail2ban\r\n\r\napt-get install php5-cli whois php5-mysql mysql-client php5-curl php5-mcrypt apache2 php5 openssl wget ssl-cert php5-imagick php5-gd dnsutils\r\napt-get install apache2 php5 php5-common php5-mysql php5-xmlrpc php5-cgi php5-curl php5-gd php5-cli php5-dev php5-imap php5-mcrypt\r\n\r\napt-get install rsyslog iptraf\r\n\r\nFor the PECL\r\napt-get install apache2-threaded-dev php5-dev php-pear make\r\n\r\n\r\nFor the pecl_http\r\napt-get install zlib1g zlib1g-dev libcurl4-openssl-dev libpcre3-dev php5-curl libevent-dev\r\n\r\n\r\npecl install raphf\r\npecl install propro\r\npecl install http:\/\/pecl.php.net\/get\/pecl_http-1.7.6.tgz\r\n\r\n\r\nThen, create the following file in the php config directory with the following contents\r\n\r\n\/etc\/php5\/conf.d\/http.ini\r\n\r\nextension=raphf.so\r\nextension=propro.so\r\nextension=http.so\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>So here are the quick steps apt-get install ssh openssh-server fail2ban apt-get install php5-cli whois php5-mysql mysql-client php5-curl php5-mcrypt apache2 php5 openssl wget ssl-cert php5-imagick php5-gd dnsutils apt-get install apache2 php5 php5-common php5-mysql php5-xmlrpc php5-cgi php5-curl php5-gd php5-cli php5-dev php5-imap php5-mcrypt apt-get install rsyslog iptraf For the PECL apt-get install apache2-threaded-dev php5-dev php-pear make For [&hellip;]<\/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":[],"class_list":["post-484","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/comments?post=484"}],"version-history":[{"count":1,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/484\/revisions"}],"predecessor-version":[{"id":485,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/484\/revisions\/485"}],"wp:attachment":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/media?parent=484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/categories?post=484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/tags?post=484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}