I have just installed LAMP and want to create a folder to store all the php and html files. After that run them in http://localhost.
Where and how do i create a folder to store all my files to be executed?

Thanks

put the content in /var/www usually

Found it.

sudo nano /var/www/test.php

Solved

thanks jbennet.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.