Take a look at this link PHP-5.6.11 . Here you’ll find a download of php. To install it you have to run the commands under “Installation of PHP”. Make sure you have all dependencies installed. Try with this method and let me know your results.