Hi,
Did you get any error using these configuration ?
If not than they are perfect

Using configuration depends on what you want to enable or disable for your application (in this case php and apache).
SO if you are not sure and you don't have any good reason, than better use precomplied package for installation.