I've set up apache, mysql and php on my AWS EC2 instance, but how could it be done that these services are starting when the EC2 is starting? I've found the
chkconfig -a mysql command but this just gives an error like
option -a not found.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.
I read the chkconfig man page for you and it says
would start the mysql daemon at runlevel 3. Similarly
would start Apache in runlevel 3.