This tutorial will be about how to install samba server and share /var/www/ directory.
Why am I sharing /var/www/ ? Because Raspberry PI
I use as a server without graphical environment and I work on Windows.
That is why it will be easier for me to edit PHP scripts.
Step 1: Installation
Install the apache2 package by typing the following command in to the Terminal:
AssignUserID pi users
Restart the apache.
Step 4: Checking samba under Windows
We log into samba server under WIN. I type the IP of my Raspberry PI, but you can also use the hostname.
To login, enter the user "pi" and password you gave in the previous step.
Then remove "index.html" and create "index.php" with content: