This question already has an answer here:

Can I get steps to install LAMP with php 5.3 and all other supported apps like php_mysql

I have tried this https://stackoverflow.com/questions/24772455/ubuntu-14-04-lts-and-php-5-3

But this didn't work for me.

marked as duplicate by muru, Yaron, Zanna, storm, Eliah Kagan Oct 8 '17 at 11:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.