Let's make a fresh start by creating a new directory on your disk. In this directory, we will keep all the files related to the current chapter's mini project.
To make things simpler, we will make a local copy of the Apache Thrift libraries.
Copy the archive that you downloaded in the previous chapter to your newly-created directory and decompress it:
$ tar -xvzf thrift-0.9.2.tar.gz
Note
Note for Windows users
In the examples, we will use Unix-style commands as this is the most popular platform for Apache Thrift. Use Windows equivalents when needed.
To decompress the .tar.gz
archives under Windows, I recommend suitable open source (free) software, for example, 7-Zip, which you can download from http://www.7-zip.org/.
Now we will have full Apache Thrift in the thrift-0.9.2
directory (the name may differ depending on the version; substitute it in all the commands). We will be using PHP and Python libraries that...