1) Log in as root in SSH.
3) Choose Option 6
4) Choose the Apache modules you want on screen
5)Then, scroll down to PHP modules
6)Click on it. Now on the next page, choose your PHP modules
7)Return to the main screen, and now finished.