I have multiple questions and I am confused.
Few months back, I was installing a software locally
~/bin. Tools got installed successfully and running fine till date.
In installation it automatically created
var/www/ and added its folders in
Now, I am trying to learn some php development. I have installed apache from source, locally on
~/someFolder, installation is complete. I did
sudo ~/someFoler/bin ./apachetl start;
localhost on browser, and
It works message received on browser.
I do not want to use
sudo, and do all my learning experiments in
/usr/var/www. Sorry, I do not understand well these directories.
From what all I have read and gone through, most users work in
usr/local. However, while copying, removing or doing anything it requires
What is the work around for this?
How do I get Apache and PHP working locally without using too many
I read port 80 is required to start the server. Hence,
sudo is necessary while starting the server.
Any help in these would be highly appreciated.
machine specification: Linux 3.11.0-15-generic x86_64
If I install apache and php by sudo, would I have to move my web pages to