Changing the default installation locations for MySql, Php and Apache

Posted February 13, 2014 2.1k views
Does anybody know how to change the default install locations for MySql, Apache and PhP? It's easy on Windows, but I find no way to do this on Ubuntu. I feel it'll be a bit more secure than using the default destinations. So I could choose xxxMySql/ for MySql and so on.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers
What do you mean by install locations?
Where Ubuntu installs Apache, MySql and PHP by default.
You shouldn't change those paths, you should stick with the defaults as they're probably more secure than any other paths.