PHP in Ubuntu Desktop

Asked by A.K.Karthikeyan

Hello, I would like to learn PHP in my Ubuntu Desktop machine. I have installed Apache and PHP. I dont know where to put my PHP files and call it from my web-browser.

In windows I put my PHP files in httdocs folder and I can see the files in my browser by typing http://localhost/<filename>.php , but I am not able to locate where httdocs and/or Apache folder in Ubuntu.

Could any one help?

Thanks in advance

Question information

Language:
English Edit question
Status:
Answered
For:
usplash Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Namık ERDOĞAN (erdogannamik) said :
#1

if you do not change apache installation,
you put the php files and other html files /var/www folder

Can you help with this problem?

Provide an answer of your own, or ask A.K.Karthikeyan for more information if necessary.

To post a message you must log in.