Install PHP 5.6 di Rasberry

Pengalaman install PHP di rasberry..

# Get the PHP source
# You can find the latest version number on the PHP download page:
# Change `nl1` to your nearest mirror. Find the mirror list here:

# Unpack
tar -xvjf php-5.6.13.tar.bz2

cd php-5.6.13

sudo apt-get update
sudo apt-get install libxml2-dev

# If on the Raspberry Pi 2
make -j4
# Otherwise

sudo make install

# Reboot to make sure changes are effective
sudo reboot

# Check PHP version
php -v