To install PHP 5.5.x on Ubuntu, add PPA To install PHP 5, run For updating existing version of PHP, run PHP Version before upgrade After Upgrade XCache is exta, i installed it with After PHP Upgrade.