Changing the default installation locations for MySql, Php and Apache

  • Posted February 13, 2014

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.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

You shouldn’t change those paths, you should stick with the defaults as they’re probably more secure than any other paths.

Where Ubuntu installs Apache, MySql and PHP by default.

What do you mean by install locations?