Thrift installation Toss-up record for PHP under Ubuntu

Source: Internet
Author: User

This installation is for PHP development configuration

According to the official document practice, there will be a variety of bugs, summed up the correct installation method:

STEP1:

Install the necessary dependency plugins:

sudo apt-get install Libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake Libtool Flex Bison pkg-config g++ libssl-devsudo apt-get install Php5-dev php5-cli phpunit #php

A necessary step:

sudo apt-get install Python-dev

STEP2:

Clone the latest version from thrift git Source:

git clone https://git-wip-us.apache.org/repos/asf/thrift.git THRIFTCD Thrift

STEP3:

CD thrift./bootstrap.sh #用于检测系统环境, generate configure file./configuremakesudo make Install

The above steps do not appear error stating that the whole process is smooth.

STEP4:

Thrift-version

Thrift version 1.0.0-dev appears

Good,thrift installation was successful.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.